minor typo change
This commit is contained in:
Родитель
ab4dcf14ae
Коммит
27241746a8
|
@ -53,7 +53,7 @@ try:
|
||||||
model = Model(workspace, model_name)
|
model = Model(workspace, model_name)
|
||||||
prev_accuracy = model.tags['accuracy']
|
prev_accuracy = model.tags['accuracy']
|
||||||
prev_test_dir = model.tags['test_data']
|
prev_test_dir = model.tags['test_data']
|
||||||
if prev_test_dir != test_dir or prev_accuracy >= accuracy:
|
if prev_test_dir != test_dir or prev_accuracy < accuracy:
|
||||||
model = register_model(model_dir, model_name, accuracy, test_dir, workspace)
|
model = register_model(model_dir, model_name, accuracy, test_dir, workspace)
|
||||||
new_model = True
|
new_model = True
|
||||||
except WebserviceException:
|
except WebserviceException:
|
||||||
|
|
|
@ -17,7 +17,7 @@ def deploy_step(model_dir, accuracy_file, test_dir, compute_target):
|
||||||
:param compute_target: The compute target to run the step on
|
:param compute_target: The compute target to run the step on
|
||||||
:type compute_target: ComputeTarget
|
:type compute_target: ComputeTarget
|
||||||
|
|
||||||
:return: The preprocess step, step outputs dictionary (keys: scoring_url)
|
:return: The deploy step, step outputs dictionary (keys: scoring_url)
|
||||||
:rtype: PythonScriptStep, dict
|
:rtype: PythonScriptStep, dict
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ def evaluate_step(model_dir, test_dir, compute_target):
|
||||||
:param compute_target: The compute target to run the step on
|
:param compute_target: The compute target to run the step on
|
||||||
:type compute_target: ComputeTarget
|
:type compute_target: ComputeTarget
|
||||||
|
|
||||||
:return: The preprocess step, step outputs dictionary (keys: accuracy_file)
|
:return: The evaluate step, step outputs dictionary (keys: accuracy_file)
|
||||||
:rtype: EstimatorStep, dict
|
:rtype: EstimatorStep, dict
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ def train_step(train_dir, valid_dir, compute_target):
|
||||||
:param compute_target: The compute target to run the step on
|
:param compute_target: The compute target to run the step on
|
||||||
:type compute_target: ComputeTarget
|
:type compute_target: ComputeTarget
|
||||||
|
|
||||||
:return: The preprocess step, step outputs dictionary (keys: model_dir)
|
:return: The training step, step outputs dictionary (keys: model_dir)
|
||||||
:rtype: EstimatorStep, dict
|
:rtype: EstimatorStep, dict
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче