FRM Part I · FRM Exam Part I · Machine Learning and Prediction
During training of a deep neural network for credit scoring, the training loss keeps decreasing while the validation loss begins rising after epoch 40. Which action is most appropriate?
Apply early stopping or regularization such as dropout or weight decay. Falling training loss with rising validation loss indicates overfitting, so capacity should be restrained rather than increased. More layers or epochs worsen it, and discarding the validation set removes the ability to monitor generalization.
- AApply early stopping or regularization such as dropout or weight decayCorrect
- BIncrease the number of hidden layers to raise model capacity
- CTrain for many more epochs until training loss reaches zero
- DAdd the validation data to the training set and stop monitoring it
Explanation
Diverging training and validation losses signal overfitting. Early stopping, dropout, or weight decay limit the model's ability to fit noise. Adding layers or training longer increases overfitting, and merging validation data removes the means of detecting it.
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 bank's credit-default classifier is tested on 200 loans. It flags 50 loans as defaults, of which 40 actually defaulted. In total 60 loans …
- A neural network with many parameters achieves very low error on the training set but substantially higher error on a validation set. Which …
- A model predicts whether a trade is fraudulent. Of 1,000 trades, 20 are actually fraudulent. The model flags 25 trades, of which 15 are actu…
- A bank combines 100 decision trees by majority vote to classify counterparties as default or non-default. Compared with a single deep tree, …
- Three models are evaluated by 5-fold cross-validation. Mean squared errors on the five held-out folds are: Model A: 4, 6, 5, 7, 8; Model B: …