mirror of
https://github.com/Azure/MachineLearningNotebooks.git
synced 2025-12-20 01:27:06 -05:00
18 lines
369 B
Python
18 lines
369 B
Python
# Copyright (c) Microsoft. All rights reserved.
|
|
# Licensed under the MIT license.
|
|
|
|
import os
|
|
|
|
|
|
def init():
|
|
print("Init")
|
|
|
|
|
|
def run(mini_batch):
|
|
print(f'run method start: {__file__}, run({mini_batch})')
|
|
total_income = mini_batch["INCOME"].sum()
|
|
print(f'total_income = {total_income}')
|
|
mini_batch["total_income"] = total_income
|
|
|
|
return mini_batch
|