FRM Part I · FRM Exam Part I · Machine-Learning Methods
A bank builds a credit-scoring model. Preprocessing steps include standardizing features using the mean and standard deviation of the full dataset before splitting it into training and test sets, and the test set is then used repeatedly to choose among 50 candidate models. Which conclusion is most accurate?
The reported test error is likely optimistic because of data leakage from standardizing with full-sample statistics and from repeatedly using the test set to select among 50 models. Selection should use a separate validation set or cross-validation, keeping the test set untouched for the final assessment.
- AThe test-set error will be an unbiased estimate of out-of-sample performance because standardization is a linear transformation
- BThe procedure suffers from data leakage and selection on the test set, so the reported test error is likely optimisticCorrect
- CThe procedure is sound provided the test set contains at least 20% of the data
- DThe only problem is that standardization increases model variance, which makes test error pessimistic
Explanation
Standardizing with full-sample statistics lets test-set information influence training, which is leakage. Choosing among 50 models using the test set also means the test data guide selection, so the chosen model's test error is biased downward. A separate validation set or cross-validation should guide selection, leaving the test set untouched. Test-set size does not fix this.
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 manager lowers the probability threshold at which a logistic model classifies a borrower as a defaulter, from 0.50 to 0.30. Which out…
- An analyst standardizes a feature using the training sample mean of 12 and a training standard deviation of 4. A new observation in the test…
- A trading desk builds an algorithm that repeatedly chooses how much of a position to execute each minute. After each action it observes the …
- 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 risk analyst builds a feedforward neural network to predict loan default. The network has an input layer, two hidden layers and an output …