FRM Part I · FRM Exam Part I · Machine-Learning Methods
A risk analyst fits a single unpruned decision tree to predict loan default and finds that it classifies the training data almost perfectly but performs poorly on a hold-out sample. Which action is most consistent with addressing this problem?
Pruning the tree or setting a minimum number of observations per leaf is correct. The tree is overfitting, fitting noise in training data, and limiting complexity reduces variance and improves out-of-sample performance. Deeper trees or zero training error would worsen overfitting.
- AGrow the tree to greater depth so that each leaf contains one observation
- BPrune the tree or impose a minimum number of observations per leafCorrect
- CRemove the hold-out sample and retrain on all data
- DAdd more splits until training error is exactly zero
Explanation
Near-perfect training fit with poor hold-out performance signals overfitting. Pruning or requiring a minimum leaf size limits tree complexity and reduces variance. Growing deeper or driving training error to zero worsens overfitting, and discarding the hold-out set removes the means of detecting it.
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 node in a classification tree holds 40 observations: 30 non-defaults and 10 defaults. Using the Gini impurity, 1 minus the sum of squared …
- A model predicting loan losses achieves a mean squared error of 0.5 on the training sample but 4.0 on a held-out validation sample. Which in…
- A data scientist splits data into training, validation and test sets to build a default-prediction model. Which use of the three sets is cor…
- A risk analyst fits a linear model to predict loan losses using 60 correlated predictors and finds that many coefficients are very large wit…
- A modeler has a strongly right-skewed feature, transaction size, with values ranging from 100 to 10,000,000 dollars. Extreme values are vali…
- A default classifier is tested on 200 loans. Results: 30 true positives, 10 false positives, 20 false negatives, and 140 true negatives. Wha…