AI GLOSSARY · AI CONCEPTS
XGBoost
Definition
XGBoost, meaning Extreme Gradient Boosting, is a supervised-learning system that builds an ensemble of decision trees additively and combines their prediction scores while regularizing model complexity.
Also called: Extreme Gradient Boosting.
In plain language
XGBoost learns from labelled examples containing features and a target. It builds multiple decision trees, adding one tree at each training step so the ensemble improves its objective. Each tree assigns scores at its leaves, and the ensemble sums the trees' prediction scores. How that score is interpreted depends on whether the task is regression, classification or ranking. Regularization controls model complexity and can help limit overfitting, but reliable evaluation still requires data that was not used for training.
Technical definition
XGBoost's documentation formulates the model as an ensemble of classification and regression trees: ŷᵢ = Σ(k=1 to K) fₖ(xᵢ), where K is the number of trees and each fₖ is a CART function with real-valued leaf scores. Training uses an objective consisting of training loss plus a regularization term for tree complexity and adds one tree at a time. The original Chen and Guestrin paper describes XGBoost as a scalable tree-boosting system and identifies a sparsity-aware algorithm, a weighted quantile sketch, and systems work involving cache access, compression and sharding. These sources do not make regularization a guarantee against overfitting; validation on appropriately separated data remains necessary.
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Skill by Skill Almanac · Illustrative, not executed
data-analysis-eda 56/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- Illustrative catalogue connection: profile a CSV's shape, types, missingness, distributions and possible leakage before choosing features or fitting a supervised model.
- Why it exercises the concept
- XGBoost commonly consumes structured feature data, so inspecting that data is useful preparation. The skill describes the supplied CSV but does not train, tune or evaluate XGBoost.
Skill by Skill Almanac · Illustrative, not executed
split-leakage-check 53/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- Illustrative catalogue connection: compare train, validation and test files for duplicate rows, shared groups, time violations and columns that may reveal the label.
- Why it exercises the concept
- This can test whether an evaluation split is contaminated before an XGBoost result is trusted. It does not assess the model, select hyperparameters or prove that uncontaminated data is representative.
How it shows up when you use agents
XGBoost is a supervised-learning system for tasks with known targets, including regression, classification and ranking. An agent may encounter it while helping prepare a structured dataset, write a training pipeline or interpret an existing model configuration. XGBoost builds a tree ensemble additively: at each training step it adds another tree, and the ensemble sums the trees' real-valued prediction scores. The meaning of the resulting score depends on the task.
Before asking an agent to fit a model, identify what one row represents, which column is the target and which feature values will actually be available when predictions are made. Keep evaluation data outside training. The split-leakage-check skill is a useful catalogue example because it can find exact or near-duplicate rows, shared entities, time-order violations and possible target-revealing columns across supplied split files. It does not train XGBoost or determine whether the remaining data represents future cases.
The data-analysis-eda skill is another preparatory example: it profiles a CSV and reports descriptive evidence and caveats. It does not choose an XGBoost objective, tune the model or establish predictive quality.
Common confusions
XGBoost versus gradient boosting. Gradient boosting is the broader method. XGBoost is a particular tree-boosting system and library whose documentation gives its own model formulation and engineering approach.
Scores versus votes. The documented ensemble sums real-valued leaf scores from multiple trees. Calling them votes is misleading because XGBoost also supports regression and ranking, and classification scores may require a task-specific transformation or interpretation.
XGBoost versus random forest. The XGBoost documentation says both can use tree ensembles, while their training procedures differ. That shared model type does not make either method the automatic baseline for every dataset.
Regularization versus guaranteed generalization. XGBoost's objective includes a complexity term that helps control overfitting. It cannot repair duplicated evaluation rows, leaked labels or an unrepresentative split.
A strong training result versus a useful model. A low training loss shows fit to training data. Judge the intended use with a separate, appropriately constructed evaluation set and a metric suited to the task.
Related terms
Terms that mention XGBoost
1 terms mention this one
More in AI concepts
Sources
- Introduction to Boosted Trees, XGBoost documentation (accessed 2026-11-25)
- XGBoost: A Scalable Tree Boosting System, arXiv (accessed 2026-11-25)
- What is gradient boosting?, IBM (accessed 2026-11-25)
Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.
Review record
Last verified
Drafted by claude-sonnet-5-5; revisions: OpenAI Codex (configured gpt-5.6-sol); sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .
Change log (5)
- : Independent automated factual/example/alias correction review closed with transparent bounded followups and simulated-reader blocker closure. Cached broad US definition demand; AI-exclusive share unmeasured. Final runtime gate separate; publication disabled.
- : Private correction of independent source/example/alias and reader findings; exact-version closure and runtime gates pending. Cached broad US definition demand, not AI-exclusive traffic.
- : First version.
- : Verifier pass: applied reviewer corrections to unsupported or misattributed claims.
- : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.