FRM Part I · FRM Exam Part I · Machine Learning and Prediction
An analyst has 1,000 monthly observations and uses a 60/20/20 split into training, validation and test sets. Which statement about the use of these subsets is correct?
The validation set is used to tune hyperparameters and choose among models, while the test set is used only once at the end to estimate final out-of-sample performance. Reusing the test set for tuning leaks information and gives an overly optimistic performance estimate.
- AThe test set should be used repeatedly to tune hyperparameters, since it is unseen by the training step
- BThe validation set is used to tune hyperparameters and select the model, and the test set is used once to estimate final out-of-sample performanceCorrect
- CThe training set is used to estimate final out-of-sample performance, and the validation set to fit parameters
- DThe validation set and test set should be merged into the training set before model selection to reduce bias
Explanation
Parameters are fitted on the training set, hyperparameters and model choice are tuned on the validation set, and the test set is kept untouched until the end to give an unbiased estimate of out-of-sample performance. Tuning on the test set would leak information and make the estimate optimistic.
Did you get it right without looking?
One question tells you little. A timed set on Machine Learning and Prediction shows your real accuracy, how long you take and where you lose marks.
More Machine Learning and Prediction questions
- A random forest has 200 trees, each trained on a bootstrap sample of n = 1,000 observations. Approximately what fraction of observations is …
- A risk team runs agglomerative hierarchical clustering on five funds using Euclidean distance. The first merge joins Funds A and B, which ar…
- Compared with a regression using all original predictors, a principal components regression (PCR) that uses the first few components has whi…
- A risk team has transaction data for 50,000 corporate clients with no labels. They run k-means to group clients with similar trading behavio…
- A risk analyst fits a linear model to predict loan losses using 60 correlated explanatory variables and only 120 observations. The analyst w…
- A single neuron receives inputs x1 = 2 and x2 = -1 with weights w1 = 0.5 and w2 = 1.5 and bias b = 0.5. It uses a ReLU activation, f(z) = ma…