Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does max_bin param affect the speed and overfitting of LightGBM?

This is from lightgbm docenter image description here But I still don't understand what is bin? and how it is affecting the performance of lightgbm?

like image 863
Aaron_Geng Avatar asked Nov 28 '25 17:11

Aaron_Geng


1 Answers

A key part of LightGBM is that it bins continuous features into bins/buckets (like a histogram) when building trees, which reduces memory use and massively speeds up training time. See section 4.1 of the docs, here.

XGBoost has now implemented this as an option too, which allows similar training speeds as LightGBM and can be implemented using tree_method='hist'.

like image 54
Stev Avatar answered Dec 02 '25 04:12

Stev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!