optuna / optuna-examples

Examples for https://github.com/optuna/optuna
MIT License
634 stars 172 forks source link

Create xgboost_cv_terminator.py #194

Closed nicholasptran closed 12 months ago

nicholasptran commented 1 year ago

Motivation

I came across the file without the terminator and I figured me from an hour ago would've found it useful.

Description of the changes

Added a file that I copied from xgboost_cv_integration.py that includes the new terminatorcallback and report_cross_validation_scores.

Note: I left in return history["test-auc-mean"].values[-1] but I think most people would use history["test-auc-mean"].mean()

github-actions[bot] commented 1 year ago

This pull request has not seen any recent activity.

github-actions[bot] commented 1 year ago

This pull request has not seen any recent activity.