Python 如何为xgboost.train设置评估指标?

Python 如何为xgboost.train设置评估指标?,python,xgboost,Python,Xgboost,如何设置xgboost.train以优化特定评估指标,类似于如何设置xgboost.fit(评估指标='auc')?请参阅文档。您可以在eval\u metric下找到度量xgboost支持 如果要使用自定义目标函数或指标,请参见

如何设置xgboost.train以优化特定评估指标,类似于如何设置xgboost.fit(评估指标='auc')?

请参阅文档。您可以在
eval\u metric
下找到度量xgboost支持

如果要使用自定义目标函数或指标,请参见