xgb自定义obj

lightGBM本身同时支持mean squared error和mean absolute error 但是xgb不支持mean absolute error,但是可以自定义obj,只要给出一阶和二阶导即可 这里给出一种逼近abs函数的方法(还有其它的逼近函数,有兴趣可查看https://stackoverflow.com/questions/45006341/xgboost-how-to-us
相关文章
相关标签/搜索