# What is Cross-Validation? Definition & Technical Mechanics

> **Source:** [SPIDITS AI AI Glossary](https://spidits.com/ai-glossary)  
> **Category:** Model Training  
> **Canonical Citation:** [https://spidits.com/ai-glossary/cross-validation](https://spidits.com/ai-glossary/cross-validation)

## Definition
Cross-Validation is a statistical resampling technique used to evaluate a machine learning model's generalization performance by partitioning the dataset into multiple training and validation folds and testing recursively.

## Architectural Mechanics & Deep Dive
Cross-validation is a robust model evaluation technique used to assess how well a machine learning model generalizes to unseen data. In K-fold cross-validation, the dataset is split into K equal subsets. The model is trained K times, each time using a different subset as the validation set and the remaining K-1 subsets as the training set, averaging performance scores to ensure reliability and prevent overfitting.

## Industry Applications & Real-World Use Cases
Model validation audits, hyperparameter tuning evaluations, and model selection.

## Frequently Asked Questions

### What is K-Fold Cross-Validation?
The most popular cross-validation method where the dataset is split into K equal-sized folds. The model is trained K times, each time using K-1 folds for training and the remaining single fold for validation, averaging the performance scores.

### Why use cross-validation instead of a single train-test split?
A single split can lead to high variance in evaluation scores if the validation split happens to contain abnormally easy or hard examples. Cross-validation ensures every data point is used for validation exactly once, giving a robust, low-bias score.

## Related Terminology
- [validation-data](https://spidits.com/ai-glossary/validation-data)
- [dataset](https://spidits.com/ai-glossary/dataset)
- [hyperparameter](https://spidits.com/ai-glossary/hyperparameter)

---
*From the SPIDITS AI Knowledge Base (336+ terms indexed). Explore full technical definitions: [https://spidits.com/ai-glossary](https://spidits.com/ai-glossary)*
