Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add customize metricts to XGBoost algorithm #15967

Closed
valenad1 opened this issue Dec 13, 2023 · 1 comment
Closed

Add customize metricts to XGBoost algorithm #15967

valenad1 opened this issue Dec 13, 2023 · 1 comment
Assignees
Labels
Milestone

Comments

@valenad1
Copy link
Collaborator

XGBoost should support custom_metric_func parameter the same way as other algos.

@valenad1 valenad1 self-assigned this Dec 13, 2023
@valenad1 valenad1 modified the milestones: 3.44.0.4, 3.44.0.3 Dec 13, 2023
valenad1 added a commit that referenced this issue Dec 13, 2023
valenad1 added a commit that referenced this issue Dec 14, 2023
valenad1 added a commit that referenced this issue Dec 14, 2023
…metric and raise warning when score_eval_metric_only is used withou eval_metric parameter
@mn-mikke mn-mikke modified the milestones: 3.44.0.3, 3.44.0.4 Dec 20, 2023
valenad1 added a commit that referenced this issue Jan 9, 2024
* GH-15967 - add xgboost custom metrics

* GH-15967 - raise error when custom metric is used together with eval_metric and raise warning when score_eval_metric_only is used withou eval_metric parameter

* GH-15967 - test that custom metric can be used for early stopping

* GH-15967 - add custom metric for xgboost into documentation

---------

Documentation co-authored-by: Hannah Tillman <hannah.tillman@h2o.ai>
@valenad1
Copy link
Collaborator Author

valenad1 commented Feb 5, 2024

Duplicate to #6788

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants