From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Developer(s) The XGBoost Contributors
Initial release March 27, 2014; 4 years ago (2014-03-27)
Stable release
0.70 / December 30, 2017 (2017-12-30)
Repository Edit this at Wikidata
Written in C++
Operating system Linux, macOS, Windows
Type Machine learning
License Apache License 2.0
Website xgboost.ai

XGBoost[1] is an open-source software library which provides a gradient boosting framework for C++, Java, Python,[2] R,[3] and Julia.[4] It works on Linux, Windows,[5] and macOS.[6] From the project description, it aims to provide a "Scalable, Portable and Distributed Gradient Boosting (GBM, GBRT, GBDT) Library". Other than running on a single machine, it also supports the distributed processing frameworks Apache Hadoop, Apache Spark, and Apache Flink. It has gained much popularity and attention recently as it was the algorithm of choice for many winning teams of a number of machine learning competitions.[7]


XGBoost initially started as a research project by Tianqi Chen[8] as part of the Distributed (Deep) Machine Learning Community (DMLC) group. Initially, it began as a terminal application which could be configured using a libsvm configuration file. After winning the Higgs Machine Learning Challenge, it became well known in the ML competition circles. Soon after, the Python and R packages were built and now it has packages for many other languages like Julia, Scala, Java, etc. This brought the library to more developers and became popular among the Kaggle community where it has been used for a large number of competitions.[7]

It soon became used with multiple other packages making it easier to use in the respective communities. It now has integrations with scikit-learn for Python users, and also with the caret package for R users. It can also be integrated into Data Flow frameworks like Apache Spark, Apache Hadoop, and Apache Flink using the abstracted Rabit[9] and XGBoost4J.[10] The working of XGBoost has also been published by Tianqi Chen and Carlos Guestrin.[11]


  • John Chambers Award (2016)[12]
  • High Energy Physics meets Machine Learning award (HEP meets ML) (2016)[13]


  1. ^ "GitHub project webpage".
  2. ^ "Python Package Index PYPI: xgboost". Retrieved 2016-08-01.
  3. ^ "CRAN package xgboost". Retrieved 2016-08-01.
  4. ^ "Julia package listing xgboost". Retrieved 2016-08-01.
  5. ^ "Installing XGBoost for Anaconda in Windows". Retrieved 2016-08-01.
  6. ^ "Installing XGBoost on Mac OSX". Retrieved 2016-08-01.
  7. ^ a b "XGBoost - ML winning solutions (incomplete list)". Retrieved 2016-08-01.
  8. ^ "Story and Lessons behind the evolution of XGBoost". Retrieved 2016-08-01.
  9. ^ "Rabit - Reliable Allreduce and Broadcast Interface". Retrieved 2016-08-01.
  10. ^ "XGBoost4J". Retrieved 2016-08-01.
  11. ^ Chen, Tianqi; Guestrin, Carlos (2016). "XGBoost: A Scalable Tree Boosting System". In Krishnapuram, Balaji; Shah, Mohak; Smola, Alexander J.; Aggarwal, Charu C.; Shen, Dou; Rastogi, Rajeev. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, August 13-17, 2016. ACM. pp. 785–794. arXiv:1603.02754. doi:10.1145/2939672.2939785.
  12. ^ "John Chambers Award Previous Winners". Retrieved 2016-08-01.
  13. ^ "HEP meets ML Award". Retrieved 2016-08-01.