AIDive
Back to glossary

What is Cross-Validation

GlossaryMachine Learning

Test the model on multiple data partitions to more robustly assess quality.

Definition

Cross-Validation is testing a model on multiple data partitions to more robustly assess quality. Simply put, this concept helps train models, compare approaches, and reduce the risk of errors on new data. In practice, it helps to understand what capabilities the tool actually has, what data it will need, and what limitations are worth checking before implementation.

Example

The team divides the data into five parts and tests the model on each one in turn, so as not to depend on a single random test.

Why it matters

Cross-validation reduces the risk of overestimating quality and helps to compare models more fairly. This helps you choose AI tools not by big promises, but by how they work in a real problem.

How it works

First, the problem is translated into data and metrics, then the model is trained, tested on a separate sample, and compared with alternatives. In the case of the term “Cross-validation”, it is important to look separately at the data, quality criteria and application conditions.

Where it is used

  • Used in training, testing and tuning models, in automatic selection of parameters, forecasting, classification and recommendation systems.

Limitations

The main limitation is the dependence on data, metrics and verification conditions. A good result on a test does not always mean reliable performance in a real product.