-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tree.py中建树的分割指标MSE #5
Comments
树的训练拟合的是残差,在训练单棵树的时候可以当成回归。 |
@liudragonfly 有点不明白,我看均方误差的定义是sum(predict-label)^2,而这里感觉作者代码里面写的MSE是求的value的方差啊……求解答 |
在xgboost时划分特征就是根据划分之后loss最小来决定是否划分以及选择最优划分点,请问xgboost和gbdt这两种策略有什么区别吗?为何gbdt不使用类似xgboost那样的策略 |
@DeligientSloth 应该是GBDT和xgboost的loss定义不同造成的。xgboost可以看成是优化版本的GBDT。 |
@liudragonfly
MSE应该是对应regression的平方误差的分割原则吧,其实并不适用于二分类和多分类的损失函数吧~
The text was updated successfully, but these errors were encountered: