Actuarial Notes

Supervised Learning

Study guides: Exam MAS-I, Exam MAS-II, Exam ACIA-CAPSTONE, FIE-M1, Exam F2FIE

Supervised Learning is the fitting of a model that predicts a response Y from predictors X = (X_1, X_2, \ldots, X_p), using training data in which the response of every observation is recorded. The model of the relationship between the response and the predictors is

Y = f(X) + \varepsilon

  • f is a fixed but unknown function of the predictors.
  • \varepsilon is a random error term, independent of X, with mean 0.

The prediction of the response is

\hat{Y} = \hat{f}(X)

  • \hat{f} is the estimate of f fitted to the training data.

In unsupervised learning the data have no response, and the method looks for structure among the predictors, such as the groups found by clustering or the directions found by principal components analysis. A method is supervised when its training data contain a known response. Whether the cases it will later predict have known outcomes does not matter, because every predictive model is used on cases whose outcome is not yet known. The regression methods of the syllabus are supervised, from linear regression and logistic regression to ridge regression and the lasso (regularization).

Which of these are supervised learning: predicting each policy's claim count next year from past policy years, flagging likely fraudulent claims from past investigated claims, and grouping territories into rating regions by their loss characteristics?

  • The claim count model is supervised, because the past policy years record each policy's claim count.
  • The fraud model is supervised, because each investigated claim is recorded as fraudulent or not.
  • Grouping territories is unsupervised, because no territory has a recorded region to fit against.

Regression and classification

A supervised learning problem is a regression problem when the response is quantitative, such as a claim amount, and a classification problem when the response is qualitative, such as fraudulent or not. A regression model is judged by its mean squared error and a classification model by its error rate, both measured on test observations that were not used to fit it.

Practice questions

Actuarial Notes