Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set eval metrics for xgboost.train?

Tags:

python

xgboost

How can I set xgboost.train to opitimize for a specific evaluation metric similar to how I can set xgboost.fit(eval_metric = 'auc')?

like image 891
L Xandor Avatar asked Oct 16 '25 03:10

L Xandor


1 Answers

See the document here. Where you can find metrics xgboost support under eval_metric.

If you want to use a custom objective function or metric see here.

like image 191
null Avatar answered Oct 18 '25 18:10

null