What is the purpose of using a validation set?

Practice Questions

Q1
What is the purpose of using a validation set?
  1. To train the model
  2. To test the model's performance
  3. To tune hyperparameters
  4. To visualize the data

Questions & Step-by-Step Solutions

What is the purpose of using a validation set?
  • Step 1: When building a machine learning model, we need to make choices about how the model works. These choices are called hyperparameters.
  • Step 2: We cannot use the same data to train the model and to check how well it works. This is because we want to see how the model performs on new, unseen data.
  • Step 3: To do this, we split our data into three parts: training set, validation set, and test set.
  • Step 4: The training set is used to teach the model. The validation set is used to test different hyperparameters and see which ones work best.
  • Step 5: After testing different configurations on the validation set, we choose the one that performs the best.
  • Step 6: Finally, we use the test set to see how well our chosen model works on completely new data.
No concepts available.
Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely