FRM Part I · FRM Exam Part I · Machine Learning and Prediction
An analyst compares two default models using 5-fold cross-validation on 1,000 observations. Model A has training error of 2% and mean validation error of 15%. Model B has training error of 9% and mean validation error of 10%. Which conclusion is best supported?
Model A is overfit and Model B should generalize better. Model A's validation error of 15% far exceeds its 2% training error, while Model B's gap is small and its validation error is lower. Model choice should rely on out-of-sample error, not training error.
- AModel A is overfit and Model B is likely to generalize betterCorrect
- BModel B is overfit because its training error is higher
- CModel A should be preferred because its training error is lower
- DBoth models generalize equally because errors are positive
Explanation
Model A has a large gap (13 points) between training and validation error, indicating overfitting. Model B's gap is only 1 point and its validation error is lower (10% vs 15%), so it should generalize better. Selection should be based on out-of-sample (validation) error, not training error.
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
- In a K-means run with K = 2, five one-dimensional observations are 1, 2, 4, 9 and 10. The initial centroids are 2 and 9. After assigning eac…
- In training a deep neural network, what is the purpose of the backpropagation algorithm?
- A confusion matrix for a credit model on 1,000 borrowers shows: true positives 60, false positives 40, false negatives 20, true negatives 88…
- Which task is best classified as a supervised learning regression problem rather than classification?
- An analyst applies principal components analysis (PCA) to a set of highly correlated predictors before fitting a prediction model. Which sta…
- A data scientist fits a model with very low training error but much higher error on a held-out validation set. Which is the most appropriate…