XGBoost

Gradient boosted decision tree library for tabular data, with GPU and distributed training.

Open SourceSelf HostedOffline Capable
0.0 (0)

About

Introduced in a 2016 KDD paper by Tianqi Chen with Carlos Guestrin at the University of Washington, this C++ library builds ensembles of decision trees by gradient boosting and remains a default pick for tabular prediction. It handles regression, classification, learning-to-rank and survival analysis, accepts custom objectives and metrics, treats missing values natively, and supports categorical features, monotonic and interaction constraints, multi-output targets and DART or random forest modes. Bindings cover Python (with a scikit-learn style estimator), R, the JVM via XGBoost4J, C, C++, Julia, Ruby and Swift. Training scales from a laptop to clusters through Dask, Spark, PySpark, Ray and Kubernetes, and an external memory mode handles datasets bigger than RAM. Setting device to cuda moves histogram tree construction onto an NVIDIA GPU. Install from PyPI, conda-forge or CRAN; releases arrive often, with the 3.4 series shipping in 2026. Apache-2.0 licensing allows unrestricted commercial use. Data scientists working with logs, transactions or feature tables usually try it before reaching for deep learning.

Should you use XGBoost?

Pick it when

Pick this for tabular classification, regression, or ranking when you want a proven gradient boosting baseline with native missing-value handling, GPU and distributed training, and bindings for Python, R, and other languages.

Look elsewhere when

With many high-cardinality categorical columns, CatBoost's ordered boosting is designed around them; when training time on very large data dominates, LightGBM's histogram trees are the usual pick. It is not meant for images or text.

Alternatives to XGBoost

  • LightGBM

    Leaf-wise histogram trees aimed at speed and low memory on large data; can overfit small datasets without careful tuning.

  • CatBoost

    Native categorical handling with ordered boosting against target leakage; less encoding work on category-heavy business data.

  • scikit-learn

    Broader classical toolkit with simpler gradient boosting built in; enough for baselines, but without GPU or distributed training.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Easy (2/5)
License
Apache-2.0
Added
Apr 3, 2026

Tags