我使用LightGBM模型(版本2.2.1)。在列车上显示下一个警告:
[LightGBM] [Warning] Starting from the 2.1.2 version, default value for the "boost_from_average" parameter in "binary" objective is true. This may cause significantly different results comparing to the previous versions of LightGBM. Try to set boost_from_average=false, if your old models produce bad results
我找到了它是关于什么的:github link。在
但我不使用任何旧模型或旧代码(它是在LightGBM的2.2.1版本上创建的新项目),所以我不需要每次都看到这个警告。在
我也知道我可以更改verbose
并关闭所有警告。但这不是真的好-其他人可以有用!在
所以我的问题是:是否可以仅关闭(隐藏)此警告?
目前没有回答
相关问题 更多 >
编程相关推荐