FRM Part I · FRM Exam Part I · Machine-Learning Methods
An analyst splits 1,000 observations as follows: 600 for training, 200 for validation and 200 for testing. She trains five candidate models on the training set, selects the one with the lowest validation error, and then reports that model's error on the test set. What is the main purpose of the test set in this procedure?
The test set gives an unbiased estimate of how the chosen model will perform on new data. Because it was not used for fitting, tuning or model selection, it avoids the optimistic bias that affects the validation error.
- ATo tune the hyperparameters of the selected model
- BTo provide an unbiased estimate of out-of-sample performance of the chosen modelCorrect
- CTo increase the amount of data used for fitting the parameters
- DTo choose among the five candidate models
Explanation
Validation data were already used to choose the model, so its error is optimistically biased. The test set is untouched by training and selection, so it gives an unbiased estimate of performance on new data. Tuning and model selection belong to the validation stage.
Did you get it right without looking?
One question tells you little. A timed set on Machine-Learning Methods shows your real accuracy, how long you take and where you lose marks.
More Machine-Learning Methods questions
- A risk analyst builds a feedforward neural network to predict loan default. Which statement best describes the role of the activation functi…
- A risk analyst fits a single classification tree to predict loan default and lets it grow until every training observation sits in a pure le…
- A K-nearest neighbors classifier predicts whether a firm will default using two features: leverage (ratio, range 0 to 5) and market capitali…
- A risk analyst builds a feedforward neural network to predict loan default. The network has an input layer, two hidden layers and an output …
- A risk analyst is building a model to predict loan defaults using features such as annual income (in thousands of dollars, ranging from 20 t…
- A node in a classification tree holds 40 observations: 30 non-defaults and 10 defaults. Using the Gini impurity, 1 minus the sum of squared …