Comparison
h2o vs lightgbm vs scikit-learn vs xgboost
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
H2O, Fast Scalable Machine Learning, for python
Actively maintained. Last release 4 days ago, commits in 10 of the last 26 weeks. A safe choice.
pip install h2oLightGBM Python-package
Maintained. Last release 4 months ago, commits in 22 of the last 26 weeks. Weaker on release cadence.
pip install lightgbmA set of python modules for machine learning and data mining
Actively maintained. Last release 3 months ago, commits in 26 of the last 26 weeks. A safe choice.
pip install scikit-learnXGBoost Python Package
Actively maintained. Last release 4 months ago, commits in 26 of the last 26 weeks. A safe choice.
pip install xgboostIn short
- scikit-learn is the most used: 225.3M downloads a month, 7.1× more than xgboost.
- Maintenance is comparable: scikit-learn 86, xgboost 85, h2o 79, lightgbm 69 on Pythie’s Index.
- lightgbm is growing fastest: downloads +13% over the last month.
- Safe default for a new project: scikit-learn.
Side by side
| Metric | h2o | lightgbm | scikit-learn | xgboost |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 79 | 69 |