What is difference between eval_metric and feval in xgboost?
问题 What is difference between feval and eval_metric in xgb.train, both parametrs are only for evaluation purpose. Post from Kaggle gives some insight : https://www.kaggle.com/c/prudential-life-insurance-assessment/forums/t/18473/custom-objective-for-xgboost 回答1: They both do roughly the same thing. Eval_metri c can take a string (uses their internal functions) or user defined function feval only takes a function Both are, as you noted, for evaluation purposes. In the below examples you can see