【发布时间】:2019-02-16 17:04:45
【问题描述】:
我正在使用 lightgbm 对一些二进制文件进行分类,经过大量搜索后,我仍然无法找到强制 lightgbm 使用我从数据集中提供的所有数据的方法。培训开始时,它说我有 83390 个数据(在我的情况下是文件),但只使用了 5XXX 个功能。 我尝试更改一些参数,例如“min_data_in_leaf”,但它并没有真正改变。
谁能解释我如何调整 Lightgbm 以使其使用我拥有的所有数据?
2019-02-16 17:02:03,969 Train model
[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
[LightGBM] [Info] Number of positive: 41695, number of negative: 41695
[LightGBM] [Info] Total Bins 494351
[LightGBM] [Info] Number of data: 83390, number of used features: 5937
[LightGBM] [Info] [binary:BoostFromScore]: pavg=0.500000 -> initscore=0.000000
【问题讨论】:
-
迪诺,你好。你有没有找到一种工作方式?我需要评估所有功能的增益。
标签: lightgbm