草庐IT

Hyperopt调参,返回值注意事项(坑),为什么num_leaves和max_depth会显示0?Python

关于Hyperopt的使用可以参考以下几篇文章,本文不做解释:(4条消息)Hyperopt入门_浅笑古今的博客-CSDN博客_hyperopt使用Hyperopt进行参数调优(译)-简书(jianshu.com)本文主要说明一下返回值的坑!调LightGBM的时候:fmin函数↓ 搜索空间↓ 坑来了!最终返回结果是这样(仅做示例):{'bagging_fraction':4,'feature_fraction':2,'max_depth':2,'min_child_samples':84,'num_leaves':2,'reg_alpha':156.09791414363687,'reg_la