Interview Question

Senior Machine Learning Engineer Interview



What role does the test set play and what role does the validation set play when we are building a model?

AnswerAdd Tags

Interview Answer

1 Answer


If we are developing an iterative model (e.g. gradient boosting or NNs), then we can use a test set to validate each iteration and update the weights accordingly. After running through all iterations, we want to test how our final model performs on a held-out dataset -- the validation dataset. Note that terminology "test" and "validation" is often used interchangeably

Anonymous on

Add Answers or Comments

To comment on this, Sign In or Sign Up.