Cross Validation

Cross Validation is a technique for making robust models. You'll discover how it works in this lesson.

Train, test and validation Datasets

We divide the dataset at hand into training and test dataset.

  • We train the model on the training dataset and evaluate its performance.

  • We evaluate the model’s performance on the test dataset (on which model is not trained) and report the performance of the model.

  • Scikit Learn provides train_test_split, which gives us the training and test dataset. These code snippets have been taken from the Scikit Learn documentation itself.

Get hands-on with 1400+ tech skills courses.