数据挖掘算法和实践(二十二):LightGBM集成算法案列(癌症数据集)_no further splits with positive gain, best gain: --CSDN博客

网站介绍:文章浏览阅读9k次,点赞8次,收藏21次。本节使用datasets数据集中的癌症数据集使用LightGBM进行建模的简单案列,关于集成学习的学习可以参考:数据挖掘算法和实践(十八):集成学习算法(Boosting、Bagging),LGBM是一个非常常用算法;一、引入常用包import datetimeimport numpy as npimport pandas as pdimport lightgbm as lgbfrom sklearn.datasets import load_breast_cancerfrom sk._no further splits with positive gain, best gain: -inf