Skip to content

Commit

Permalink
Re-add early stopping during final fit
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasMeissnerDS committed Jul 2, 2023
1 parent 3d7cc4d commit 3c16654
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bluecast/ml_modelling/xgboost.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def fit(
self.conf_params_xgboost.params,
d_train,
num_boost_round=self.conf_params_xgboost.params["steps"],
# early_stopping_rounds=self.conf_training.early_stopping_rounds,
early_stopping_rounds=self.conf_training.early_stopping_rounds,
evals=eval_set,
)
print("Finished training")
Expand Down
Binary file modified dist/bluecast-0.8-py3-none-any.whl
Binary file not shown.
Binary file modified dist/bluecast-0.8.tar.gz
Binary file not shown.

0 comments on commit 3c16654

Please sign in to comment.