作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
在 xgboost 的文档中,我读到:
base_score [default=0.5] : the initial prediction score of all instances, global bias
最佳答案
我认为您的理解是正确的,在您的示例中,基本分数可以设置为 0.3,或者您可以简单地将其保留为默认的 0.5。对于高度不平衡的数据,您可以将其初始化为更有意义的基础分数,以改进学习过程。理论上,只要选择合适的学习率并给它足够的训练步骤,起始基础分数应该不会影响结果。看作者在this issue的回答.
引用:https://github.com/dmlc/xgboost/issues/799
关于parameters - xgboost : The meaning of the base_score parameter,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47596486/
我是一名优秀的程序员,十分优秀!