XGBoost

Scalable gradient-boosted decision trees with CPU/GPU training and bindings for Python, R, JVM and more.

XGBoost implements regularised gradient boosting with careful handling of sparse data and missing values. It trains on CPUs, GPUs and distributed clusters (Spark, Dask, Ray) and is a strong default for structured, tabular data. The scikit-learn-compatible wrapper makes it easy to drop into existing pipelines. Maintained by the DMLC community.

Type
Library
Category
AI & ML
Maintainer
DMLC community
First released
2014
License
Open source (Apache-2.0)
Pricing
Open source
Level
Intermediate
Technologies
python, cpp, r, machine-learning
GitHub stars
29,056
Weekly downloads
7,329,689 (pypi)
Latest release
[object Object]
Last verified
26 Nov 2026

What XGBoost is used for

  • Tabular classification and regression
  • Ranking
  • Data-science competitions

Strengths

  • Strong results on tabular data
  • GPU and distributed training
  • Many language bindings

Limitations

  • Hyperparameters matter
  • Less suited to images, audio or free text

XGBoost alternatives

How it relates to other tools

Built with the same technologies

Learn XGBoost

Official links

Sources

Explore