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.
1 parent ec2bd93 commit 9e42b3cCopy full SHA for 9e42b3c
predictions.py
@@ -144,6 +144,7 @@
144
145
# Save the best model's parameters in a separate mlflow experiment
146
mlflow.set_experiment("BestModelParams")
147
-with mlflow.start_run(run_name="Best Model") as run:
+name = best_model.__class__.__name__
148
+with mlflow.start_run(run_name=name) as run:
149
mlflow.log_params(best_params)
- mlflow.log_metric("best_accuracy", best_score)
150
+ mlflow.log_metric("f1", best_score)
0 commit comments