📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

What should be done with the test set during hyperparameter tuning?

A. It should be merged into training after each trial
B. It should not be used at all until final evaluation ✅
C. It should be used to pick the best hyperparameters
D. It should be used to train the model

Correct Answer: B. It should not be used at all until final evaluation

Explanation

Tuning on the test set leaks information into model selection; use the validation set for tuning and keep the test set untouched.