Skip to content

Commit

Permalink
Merge branch 'danielstankw-fixing_sign'
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael95-m committed Sep 30, 2023
2 parents fe8f76f + 1be8347 commit 5bc4cca
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 5bc4cca

Please sign in to comment.