0
What is cross-validation in machine learning?
What is cross-validation in machine learning?
Cross-validation is a technique used to check how well a machine learning model will perform on new data.
Simple Example
Suppose you have 100 student records.
- Split them into 5 groups of 20 records each.
- Train the model on 80 records and test on 20.
- Repeat this 5 times with a different test group each time.
In short: Cross-validation helps ensure that a machine learning model works well on unseen data, not just on the data it was trained on.