# XGBoost Documentation

**XGBoost** is an optimized distributed gradient boosting library designed to be highly **efficient**, **flexible** and **portable**.
It implements machine learning algorithms under the [Gradient Boosting](https://en.wikipedia.org/wiki/Gradient_boosting) framework.
XGBoost provides a parallel tree boosting (also known as GBDT, GBM) that solve many data science problems in a fast and accurate way.
The same code runs on major distributed environment (Hadoop, SGE, MPI) and can solve problems beyond billions of examples.

## Contents

* [Installation Guide](install.html.md)
* [Building From Source](build.html.md)
* [Get Started with XGBoost](get_started.html.md)
* [XGBoost Tutorials](tutorials/index.html.md)
  * [Introduction to Boosted Trees](tutorials/model.html.md)
  * [Introduction to Model IO](tutorials/saving_model.html.md)
  * [Slicing Models](tutorials/slicing_model.html.md)
  * [Learning to Rank](tutorials/learning_to_rank.html.md)
  * [DART](tutorials/dart.html.md)
  * [Monotonic Constraints](tutorials/monotonic.html.md)
  * [Feature Interaction Constraints](tutorials/feature_interaction_constraint.html.md)
  * [Survival Analysis with Accelerated Failure Time](tutorials/aft_survival_analysis.html.md)
  * [Categorical Data](tutorials/categorical.html.md)
  * [Multiple Outputs](tutorials/multioutput.html.md)
  * [Random Forests(TM) in XGBoost](tutorials/rf.html.md)
  * [Distributed XGBoost on Kubernetes](tutorials/kubernetes.html.md)
  * [Distributed XGBoost with XGBoost4J-Spark](https://xgboost.readthedocs.io/en/latest/jvm/xgboost4j_spark_tutorial.html)
  * [Distributed XGBoost with XGBoost4J-Spark-GPU](https://xgboost.readthedocs.io/en/latest/jvm/xgboost4j_spark_gpu_tutorial.html)
  * [Distributed XGBoost with Dask](tutorials/dask.html.md)
  * [Distributed XGBoost with PySpark](tutorials/spark_estimator.html.md)
  * [Using XGBoost External Memory Version](tutorials/external_memory.html.md)
  * [C API Tutorial](tutorials/c_api_tutorial.html.md)
  * [Text Input Format of DMatrix](tutorials/input_format.html.md)
  * [Notes on Parameter Tuning](tutorials/param_tuning.html.md)
  * [Custom Objective and Evaluation Metric](tutorials/custom_metric_obj.html.md)
  * [Advanced Usage of Custom Objectives](tutorials/advanced_custom_obj.html.md)
  * [Intercept](tutorials/intercept.html.md)
  * [Privacy Preserving Inference with Concrete ML](tutorials/privacy_preserving.html.md)
* [Frequently Asked Questions](faq.html.md)
* [GPU Support](gpu/index.html.md)
* [XGBoost Parameters](parameter.html.md)
* [Prediction](prediction.html.md)
* [Tree Methods](treemethod.html.md)
* [Python Package](python/index.html.md)
  * [Python Package Introduction](python/python_intro.html.md)
  * [Using the Scikit-Learn Estimator Interface](python/sklearn_estimator.html.md)
  * [Python API Reference](python/python_api.html.md)
  * [Supported Python data structures](python/data_input.html.md)
  * [Callback Functions](python/callbacks.html.md)
  * [XGBoost Python Feature Walkthrough](python/examples/index.html.md)
  * [XGBoost Dask Feature Walkthrough](python/dask-examples/index.html.md)
  * [Survival Analysis Walkthrough](python/survival-examples/index.html.md)
  * [Using XGBoost with RAPIDS Memory Manager (RMM) plugin](python/rmm-examples/index.html.md)
* [R Package](R-package/index.html.md)
  * [XGBoost for R introduction](R-package/xgboost_introduction.html.md)
  * [XGBoost from JSON](R-package/xgboostfromJSON.html.md)
  * [Migrating code from previous XGBoost versions](R-package/migration_guide.html.md)
  * [Handling of indexable elements](R-package/index_base.html.md)
  * [Developer guide: parameters from core library](R-package/adding_parameters.html.md)
* [JVM Package](jvm/index.html.md)
  * [Getting Started with XGBoost4J](jvm/java_intro.html.md)
  * [XGBoost4J-Spark Tutorial](jvm/xgboost4j_spark_tutorial.html.md)
  * [XGBoost4J-Spark-GPU Tutorial](jvm/xgboost4j_spark_gpu_tutorial.html.md)
  * [Code Examples](https://github.com/dmlc/xgboost/tree/master/jvm-packages/xgboost4j-example)
  * [API docs](jvm/api.html.md)
  * [How to migrate to XGBoost-Spark jvm 3.x](jvm/xgboost_spark_migration.html.md)
* [Ruby Package](https://github.com/ankane/xgboost-ruby)
* [Swift Package](https://github.com/kongzii/SwiftXGBoost)
* [Julia Package](julia.html.md)
* [C Package](c.html.md)
* [C++ Interface](c++.html.md)
* [Security disclosure](security.html.md)
* [Contribute to XGBoost](contrib/index.html.md)
  * [Community Guideline](contrib/community.html.md)
  * [Donations](contrib/donate.html.md)
  * [Coding Guideline](contrib/coding_guide.html.md)
  * [Consistency for Language Bindings](contrib/consistency.html.md)
  * [Notes on packaging XGBoost’s Python package](contrib/python_packaging.html.md)
  * [Adding and running tests](contrib/unit_tests.html.md)
  * [Docs and Examples](contrib/docs.html.md)
  * [XGBoost Internal Feature Map](contrib/featuremap.html.md)
  * [Git Workflow Howtos](contrib/git_guide.html.md)
  * [XGBoost Release Policy](contrib/release.html.md)
  * [Automated testing in XGBoost project](contrib/ci.html.md)
* [Release Notes](changes/index.html.md)
  * [3.4.1 Patch Release (Aug 14, 2026)](changes/v3.4.0.html.md)
  * [3.4.0 (Aug 4, 2026)](changes/v3.4.0.html.md#aug-4-2026)
  * [3.3.0 (Jun 17, 2026)](changes/v3.3.0.html.md)
  * [3.2.0 (Feb 9, 2026)](changes/v3.2.0.html.md)
  * [3.1.3 Patch Release (Jan 8, 2026)](changes/v3.1.0.html.md)
  * [3.1.2 Patch Release (Nov 20, 2025)](changes/v3.1.0.html.md#patch-release-nov-20-2025)
  * [3.1.1 Patch Release (Oct 22, 2025)](changes/v3.1.0.html.md#patch-release-oct-22-2025)
  * [3.1.0 (Sep 22, 2025)](changes/v3.1.0.html.md#sep-22-2025)
  * [3.0.3 Patch Release (Jul 30, 2025)](changes/v3.0.0.html.md)
  * [3.0.2 Patch Release (May 25, 2025)](changes/v3.0.0.html.md#patch-release-may-25-2025)
  * [3.0.1 Patch Release (May 13, 2025)](changes/v3.0.0.html.md#patch-release-may-13-2025)
  * [3.0.0 (Feb 27, 2025)](changes/v3.0.0.html.md#feb-27-2025)
  * [2.1.4 Patch Release (Feb 6, 2025)](changes/v2.1.0.html.md)
  * [2.1.3 Patch Release (Nov 26, 2024)](changes/v2.1.0.html.md#patch-release-nov-26-2024)
  * [2.1.2 Patch Release (Oct 23, 2024)](changes/v2.1.0.html.md#patch-release-oct-23-2024)
  * [2.1.1 Patch Release (Jul 31, 2024)](changes/v2.1.0.html.md#patch-release-jul-31-2024)
  * [2.1.0 (Jun 20, 2024)](changes/v2.1.0.html.md#jun-20-2024)
