We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8570197 + 7c38f0a commit f67756aCopy full SHA for f67756a
template/steps/{% if hyperparameters_tuning %}hp_tuning{% endif %}/hp_tuning_select_best_model.py
@@ -31,7 +31,7 @@ def hp_tuning_select_best_model(
31
best_metric = -1
32
# consume artifacts attached to current model version in Model Control Plane
33
for step_name in step_names:
34
- hp_output = model.get_data_artifact("hp_result")
+ hp_output = model.get_artifact("hp_result")
35
model_: ClassifierMixin = hp_output.load()
36
# fetch metadata we attached earlier
37
metric = float(hp_output.run_metadata["metric"])
0 commit comments