Comparison
lightgbm vs tensorflow-decision-forests vs xgboost vs ydf
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
LightGBM Python-package
Maintained. Last release 5 months ago, commits in 24 of the last 26 weeks. Weaker on release cadence.
pip install lightgbmCollection of training and inference decision forest algorithms.
Low maintenance activity. Last release 20 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install tensorflow-decision-forestsXGBoost Python Package
Actively maintained. Last release 4 months ago, commits in 26 of the last 26 weeks. A safe choice.
pip install xgboostYDF (short for Yggdrasil Decision Forests) is a library for training, serving, evaluating and analyzing decision forest models such as Random Forest and Gradient Boosted Trees.
Actively maintained. Last release 4 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install ydfIn short
- xgboost is the most used: 31.8M downloads a month.
- Maintenance is comparable: ydf 88, xgboost 85, lightgbm 69, tensorflow-decision-forests 25 on Pythie’s Index.
- lightgbm is growing fastest: downloads +13% over the last month.
- Safe default for a new project: xgboost.
Side by side
| Metric | lightgbm | tensorflow-decision-forests | xgboost | ydf |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 69 | 25 |