384 views
3 3 votes

Consider the following: "The ______ is used to fit the model; the _________ is used for model selection; the ___________ is used for computing the generalisation error."

Which of the following will fill the above blanks correctly?

  1. Test set; Validation set; training set
     
  2. Training set; Test set; Validation set
     
  3. Training set; Validation set; Test set
     
  4. Test set; Training set; Validation set

2 Answers

2 2 votes
The training set is used to fit our model. After that, the validation set is used to select the best model. Then, the test set is used for computing the generalization error.

$\therefore$ Option C is correct.
• reshown by
2 2 votes

Option C

The Role of Each Dataset 🧠

Think of it like preparing for a final exam:

  • Training Set: This is the largest part of your data. The model uses it to learn the patterns, just like you use textbooks and class notes to study. This is what's used to "fit the model."

    • Sentence part 1: "The Training set is used to fit the model..."

  • Validation Set: After studying, you might take a few practice exams. You use your performance on these to adjust your study habits (e.g., focus more on a certain topic). A model does the same thing. It's trained on the training set, and then its performance is checked on the validation set. This helps you tune the model's hyperparameters (like its complexity) and select the best-performing version.

    • Sentence part 2: "...the Validation set is used for model selection..."

  • Test Set: This is like the final exam. You only take it once. It contains data the model has never seen before. Its performance on this set gives a final, unbiased measure of how well it will perform in the real world. This is called the generalization error.

    • Sentence part 3: "...the Test set is used for computing the generalisation error."

Putting it all together, the correctly filled sentence is:

"The Training set is used to fit the model; the Validation set is used for model selection; the Test set is used for computing the generalisation error."

This matches option C.

Position:
Show:

Related questions

4 4 votes
2 2 answers
360
360 views
GO Classes asked Sep 16, 2025
360 views
The direction of steepest ascent for the function $2 x+y^3+4 z$ at the point $(1,0,1)$ is$\left[\frac{2}{\sqrt{20}}, 0 \frac{4}{\sqrt{20}},\right]$ $\left[\frac{1}{\sqrt{...
3 3 votes
1 1 answer
284
284 views
GO Classes asked Sep 16, 2025
284 views
Consider the following input data points:\[\begin{array}{c c}\mathbf{X} & \mathbf{y} \\\hline[4,2] & +1 \\[8,4] & +1 \\[2,6] & -1 \\[4,10] & -1 \\[10,2] & +1 \\[1...
1 1 vote
1 1 answer
392
392 views
GO Classes asked Sep 16, 2025
392 views
Consider the following input data points:\[\begin{array}{|c|c|}\hline\mathbf{X} & \mathbf{y} \\\hline & 5.8 \\[3] & 8.3 \\[6] & 18.3 \\[7] & 21 \\[8] & 22 \\\hline\end{a...
1 1 vote
1 1 answer
391
391 views
GO Classes asked Sep 16, 2025
391 views
Consider the following 4 training examples. We want to learn a function\[\begin{array}{|c|c|}\hlinex & y \\\hline-1 & 0.0319 \\0 & 0.8692 \\1 & 1.9566 \\2 & 3.0343 \\\...