成功解决lightgbm.basic.LightGBMError: Parameter max_depth should be of type int, got “0.02“
生活随笔
收集整理的这篇文章主要介绍了
成功解决lightgbm.basic.LightGBMError: Parameter max_depth should be of type int, got “0.02“
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
成功解决lightgbm.basic.LightGBMError: Parameter max_depth should be of type int, got "0.02"
目录
解决问题
解决思路
解决方法
解决问题
raise LightGBMError(decode_string(_LIB.LGBM_GetLastError()))
lightgbm.basic.LightGBMError: Parameter max_depth should be of type int, got "0.02"
解决思路
raise LightGBM 解码字符串出错!
lightgbm.basic.lightgbm错误:参数max_depth 应为int类型,但是却获得“0.02”
解决方法
将参数进行修改
learning_rat = params3[1] max_dept = params3[0] n_estimato = params3[2]改为
learning_rat = params3[0] max_dept = params3[1] n_estimato = params3[2]总结
以上是生活随笔为你收集整理的成功解决lightgbm.basic.LightGBMError: Parameter max_depth should be of type int, got “0.02“的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: ML之FE:对人类性别相关属性数据集进行
- 下一篇: 成功解决xgboost.core.XGB