XGBoost implements parallel gradient boosted trees (GBDT/GBM) for classification and regression workloads. The same core runs on a single machine or on distributed stacks such as Spark, Dask, Hadoop, and Kubernetes.
Overview
XGBoost is a portable gradient boosting framework aimed at speed and flexibility on structured tabular data. It builds ensembles of decision trees sequentially, with optimizations for training, prediction, and memory use compared with naive boosting implementations.
Language bindings cover Python, R, Java, Scala, C, Julia, Ruby, Swift, and others, with documentation for scikit-learn-style estimators, native APIs, and JVM Spark integrations. Tutorials in the official docs walk through ranking, survival analysis, categorical features, GPU execution, and custom objectives.
For large datasets, distributed modules target clusters via Spark, Dask, Ray, Flink, and related runners, including Kubernetes-oriented guides. The project also documents model IO, slicing, external memory training, and privacy-oriented inference patterns with partner tooling.
Teams typically install a language package, feed training matrices or data frames, tune hyperparameters, and export models for batch or online scoring in the same environment.
Key features
- Gradient boosted decision trees
- Single-node and distributed training
- Python, R, JVM, and C bindings
- Spark and Dask integrations
- GPU acceleration support
- Custom objectives and metrics
- Model save and load utilities
- Ranking and survival extensions
Use cases
- Tabular prediction on large datasets
- Distributed training on Spark clusters
- Kaggle-style structured ML baselines
- Production scoring with saved models