LightGBM
Histogram-based gradient boosting library for fast tree models on large tabular datasets.
About
Gradient-boosted decision trees remain a default for tabular problems, and LightGBM trains them quickly by bucketing continuous features into histograms, growing each tree leaf by leaf toward the split with the largest loss reduction, and partitioning categorical columns directly instead of one-hot encoding them. Objectives include Huber, Poisson, quantile and Tweedie regression, binary and multiclass classification, and LambdaRank for ranking, with metrics like AUC and NDCG, early stopping and L1 or L2 regularization. Training can spread across machines with feature, data or voting parallel modes, with an optional MPI build, and GPU builds exist for OpenCL, CUDA and ROCm. You get a C++ core and CLI, a Python package on pip and conda with scikit-learn style estimators and Dask support, an R package, a SWIG-built Java wrapper, and a C API that community bindings for .NET, Rust and Ruby build on. In March 2026 the repository moved from Microsoft to the lightgbm-org organization under the same maintainers. MIT licensed and free for commercial work, it suits data scientists with large tabular datasets.
Should you use LightGBM?
Pick it when
Pick this for large tabular datasets where training speed and memory matter, such as ranking or click prediction on millions of rows, and you want histogram-based, leaf-wise trees with Python, R, or C++ interfaces.
Look elsewhere when
On small datasets leaf-wise growth overfits unless you constrain it, and on category-heavy business data CatBoost's ordered boosting needs less tuning. For quick baselines, scikit-learn's built-in boosting may be all you need.
Alternatives to LightGBM
- XGBoost
Depth-wise tree growth by default is more forgiving on small datasets; the easier choice if your team already runs XGBoost pipelines or competition code.
- CatBoost
Ordered boosting targets the leakage that hurts category-heavy data and has strong defaults; less to tune, under Apache-2.0 rather than MIT.
- scikit-learn
Its HistGradientBoosting models cover the basics with no extra dependency; fewer tuning options and no GPU or distributed training.
Reviews (0)
Leave a Review
No reviews yet. Be the first to review!
Details
- Category
- AI Frameworks & Libraries
- Price
- Free
- Platform
- Local/Desktop
- Difficulty
- Easy (2/5)
- License
- MIT
- Added
- Apr 3, 2026