Overview
LightGBM is a tree-based gradient-boosting framework designed for fast, memory-efficient training. It supports classification, regression, ranking, parallel and distributed execution, and GPU learning, making it a common alternative to other boosted-tree libraries for structured data.
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Train gradient-boosted trees efficiently
LightGBM is designed to reduce training time and memory use while providing high-performance tree-based gradient boosting for large datasets.
Scale across GPU, parallel, and distributed training
The project supports GPU acceleration and distributed learning in addition to single-machine workflows, with interfaces including Python and R.
Sources: [2]
For classification, regression, and ranking on structured data
LightGBM is a strong candidate when comparing boosted trees with linear models, random forests, and other methods on tabular datasets.
Tune model complexity and update old repository references
Depth, leaves, learning rate, and boosting rounds materially affect accuracy and overfitting. The README also notes that the official repository moved from Microsoft/LightGBM to the current organization in March 2026.
Sources: [2]
Official sources
- [1]lightgbm-org/LightGBM repository(2026-09-20)
- [2]LightGBM README(2026-09-20)
- [3]LightGBM MIT license(2026-09-20)
- [4]LightGBM documentation(2026-09-20)
Supplemental curator note
Like XGBoost, LightGBM is a strong choice for structured data, with an emphasis on fast and memory-efficient training plus GPU and distributed modes. The official repository moved from `Microsoft/LightGBM` to `lightgbm-org/LightGBM` in March 2026, so older links and automation may need updating.
Try it in 3 steps
- 1
Install LightGBM
Install the released LightGBM package in a virtual environment for the Python API.
python -m pip install lightgbm - 2
Train a tiny boosted-tree model
Use a tiny binary-classification dataset to verify the basic train/predict flow.
python -c "import lightgbm as lgb, numpy as np; X=np.array([[0],[1],[2],[3]]); y=np.array([0,0,1,1]); m=lgb.train({'objective':'binary','verbose':-1}, lgb.Dataset(X,label=y), num_boost_round=5); print(m.predict([[1.5]]))" - 3
Add validation and tuning
For real evaluation, separate validation data and tune learning rate, leaves, and boosting rounds while monitoring overfitting.
Add valid_sets + early_stopping callback
Growth
Growth trends · Last 30 days
18,781 Stars
Trend data is still being collected.
Development activity
Last 90 days · weekly
- Commits (last 30 days)
- 19
- Open PRs
- 71
- Issues opened
- 25
- Issues closed
- 21
- PRs opened
- 71
- PRs merged
- 47
Issues
25 / 21
Pull requests
71 / 47
Maintenance
- Median first response
- 2.1 days
- Issue response rate
- 40% (4/10)
Based on up to the 100 newest issues opened by external users in the last 90 days. A first comment from an OWNER, MEMBER, or COLLABORATOR counts as a response; issues whose full comment history cannot be checked are excluded. The median and response rate update weekly.
Built with
Categories and tags
Categories
GitHub data
GitHub dataView detailed GitHub data
GitHub Topics
- gbdt
- gbm
- machine-learning
- data-mining
- distributed
- lightgbm
- gbrt
- decision-trees
- gradient-boosting
- python
- r
- parallel
- Stars
- 18,781
- Forks
- 4,071
- Watchers
- 422
- Open issues
- 447
- Contributors
- 341
- Primary language
- C++
- License
- MIT
- Repository last updated
- Sep 17, 2026
Related information
Write a related articleShare a guide or use case for this OSS in Markdown. Articles are published after administrator approval.
Explore next
- Apache Superset74,847 Stars
An open-source BI platform with no-code charts, SQL Lab, a semantic layer, and broad SQL data-source connectivity.
Python - OpenBB73,262 Stars
An open financial data platform that exposes multiple providers to Python, REST APIs, MCP, analysts, quants, and AI agents.
Python - scikit-learn67,305 Stars
A Python ML library unifying preprocessing, classification, regression, clustering, model selection, and evaluation.
Python - pandas49,751 Stars
A Python DataFrame library for missing values, joins, aggregation, reshaping, time series, and tabular I/O.
Python - Apache Spark44,014 Stars
A large-scale data-processing engine unifying SQL, DataFrames, batch, streaming, and machine learning.
Scala
Report incorrect information
Tell us if any listing information is incorrect or outdated.