Skip to content

Commit

Permalink
removed - sign from f1
Browse files Browse the repository at this point in the history
  • Loading branch information
danielstankw committed Sep 28, 2023
1 parent fe8f76f commit 1be8347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline/training_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def objective(trial):
mlflow.log_artifact("model/preprocessor.b", artifact_path="artifact")
mlflow.xgboost.log_model(model, artifact_path="model", signature=signature)

return -f1
return f1

# Create an Optuna study and optimize the objective function
study = optuna.create_study(direction="maximize")
Expand Down

0 comments on commit 1be8347

Please sign in to comment.