microsoft / LightGBM

A fast, distributed, high performance gradient boosting (GBT, GBDT, GBRT, GBM or MART) framework based on decision tree algorithms, used for ranking, classification and many other machine learning tasks.
https://lightgbm.readthedocs.io/en/latest/
MIT License
16.66k stars 3.83k forks source link

model become bigger #1903

Closed ganzhiruyi closed 5 years ago

ganzhiruyi commented 5 years ago

I complied lightgbm from 2.0.6 to 2.2, the model size increase from 12M to 2.2G. There is no difference among config and train data. Is there any new parameter to control the model size? Thanks.

guolinke commented 5 years ago

do you have categorical features in your data ?

ganzhiruyi commented 5 years ago

do you have categorical features in your data ?

Yes, I have some categorical features, is there any changes from 2.0.6 to 2.2? image

guolinke commented 5 years ago

Yes, refer to https://github.com/Microsoft/LightGBM/pull/762

ganzhiruyi commented 5 years ago

Yes, refer to #762

Ok, thanks for your time!