IAI Actuarial Core Principles · Risk Modelling and Survival Analysis · Elementary principles of machine learning
A data scientist at an Indian insurer tunes the regularisation parameter of a lasso regression. She tries many values and picks the one with the lowest error on the test set, then reports that test error as the expected future error. What is the main flaw?
The test set was used to select the regularisation parameter, so it is no longer an independent check. Its error is optimistically biased as an estimate of future performance. Tuning should use a validation set or cross-validation, leaving the test set for final assessment.
- AThe test set has influenced model selection, so its error is optimistically biased as an estimate of future performanceCorrect
- BLasso regression cannot be tuned using any held-out data
- CThe test error should be replaced by the training error, which is unbiased
- DUsing many parameter values always causes underfitting
- The test set should have been used for fitting the regression coefficients
Explanation
Once the test set is used to choose the parameter, it is no longer independent of the final model. Its error then understates true future error. A separate validation set or cross-validation should be used for tuning, keeping the test set for a single final assessment.
Did you get it right without looking?
One question tells you little. A timed set on Elementary principles of machine learning shows your real accuracy, how long you take and where you lose marks.
More Elementary principles of machine learning questions
- A analyst applies K-means clustering to policyholder data containing annual premium (in rupees, values in the lakhs) and age (in years, valu…
- In 5-fold cross-validation on 500 observations used to compare two regularised regression models, which statement is correct?
- A model fitted to a training set gives a very low training error but a much higher error on a separate test set. Which is the most likely ex…
- A binary classifier for predicting policy lapse is tested on 200 policies. It gives 40 true positives, 20 false positives, 10 false negative…
- In principal components analysis (PCA) of a standardised data set with 5 variables, the eigenvalues of the correlation matrix are 2.5, 1.3, …
- A pricing team fits a very flexible model to claim data and finds that its error on the training data is very small but its error on a separ…