IAI Actuarial Core Principles · Risk Modelling and Survival Analysis · Elementary principles of machine learning
A model is fitted with a penalty on the sum of squared coefficients, with penalty weight λ. Training error is 4.0 at λ=0 and validation error is 9.0. As λ is increased from 0 to a moderate value, which pattern is most typical when the model was originally overfitting?
Training error typically rises slightly while validation error falls. The penalty shrinks coefficients, adding a little bias but cutting variance, which helps an overfitted model generalise, until λ becomes so large that the model begins to underfit.
- ATraining error rises slightly and validation error falls, as variance is reduced at the cost of a little biasCorrect
- BTraining error falls and validation error rises, as bias is reduced
- CBoth training and validation errors fall continuously for every λ
- DBoth errors stay unchanged because the penalty affects only the intercept
- Training error falls sharply and validation error is unchanged
Explanation
A ridge penalty shrinks coefficients, so the fit to training data worsens slightly (more bias) but variance falls. For an overfitted model this usually lowers validation error until λ becomes too large. Training error cannot fall when a constraint is tightened on the same objective's fit term.
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 life insurer in Mumbai has data on 20,000 customers (age, premium paid, number of policies, channel) but no outcome variable. An analyst a…
- A pricing team fits a claim-severity model and finds that its error on the data used for fitting is very small, but its error on a separate …
- An actuary fits a flexible model to 200 motor claims and finds it has a very small error on those 200 records but a much larger error on 100…
- A modeller fits polynomial regressions of increasing degree to the same training data. The training error falls steadily with degree, but th…
- An analyst uses k-fold cross-validation with k = 5 on a dataset of 1,000 observations to compare models. Which description of the procedure …
- In ridge regression, a penalty equal to a positive constant λ times the sum of squared coefficients is added to the residual sum of squares.…