Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

machine learning
cross validation
test
train

What is cross-validation?

Educative Answers Team

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

In machine learning, it is extremely important that data scientists validate machine learning models that are under training for accuracy and stability as it needs to be ensured that the model picks up on most of the trends and patterns in the data without incurring too much noise.

Cross-validation is a common model validation technique to evaluate how well the model will generalize an entirely new data set. The technique defines a data set from the training data to test the model during the training phase. This defined data set is called a validation set.

The training data set and the validation data set need to be drawn from the same set of data.

svg viewer

The cross-validation technique is popular for various reasons:

  • It helps us evaluate the quality of the model during training.

  • It helps us choose the model that will work most efficiently on an unseen data set.

  • It prevents the model from overfitting and underfitting.

RELATED TAGS

machine learning
cross validation
test
train
Copyright ©2022 Educative, Inc. All rights reserved

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Keep Exploring