【发布时间】:2020-12-21 12:51:13
【问题描述】:
是否可以在 XGBoost 或 sklearn 的 GradientBoostingRegressor 中使用 RMSE 损失函数,就像在 CatBoost中所做的那样>?
【问题讨论】:
标签: machine-learning scikit-learn random-forest xgboost loss-function
是否可以在 XGBoost 或 sklearn 的 GradientBoostingRegressor 中使用 RMSE 损失函数,就像在 CatBoost中所做的那样>?
【问题讨论】:
标签: machine-learning scikit-learn random-forest xgboost loss-function
是的,您可以将 rmse 用于 XGBoost。 RMSE 在eval_metric 中用于分类中的回归和错误。
参考:https://xgboost.readthedocs.io/en/latest/parameter.html?highlight=rmse
【讨论】: