Comparison
lightgbm vs xgboost
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
LightGBM Python-package
Maintained. Last release 4 months ago, commits in 26 of the last 26 weeks. Weaker on release cadence.
$
pip install lightgbmXGBoost Python Package
Actively maintained. Last release 4 months ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install xgboostIn short
- xgboost is the most used: 32.3M downloads a month.
- xgboost also has the best Pythie’s Index (85).
- lightgbm is growing fastest: downloads +14% over the last month.
- Safe default for a new project: xgboost.