Unsupervised Learning
Study guides: Exam SRM, Exam PA, Exam MAS-II, Exam ACIA-CAPSTONE, FIE-M1, Exam F2FIE
Unsupervised Learning is the search for structure among predictors X_1, \ldots, X_p when there is no response Y to predict. It is the counterpart of supervised learning, whose training data record a response. The MAS-II syllabus has two unsupervised methods:
- Principal components analysis reduces the dimension of the data, finding a few directions that carry most of the variance of the predictors.
- Clustering finds groups of similar observations.
Unsupervised learning is often used in exploratory data analysis, and as a preprocessing step, such as principal components fed into a supervised model as predictors.
PCA on 12 telematics variables gives a first component with large positive loadings on hard braking, cornering force and night driving. What has the analysis found, and what has it not?
- It has found that those variables move together, so one direction summarizes much of the spread across drivers.
- It has not found that this direction predicts claims. PCA does not use a response, so that needs a supervised fit to claims.
Judging an unsupervised result
With no response there is no test error, so cross-validation cannot choose between results. A scree plot elbow or a dendrogram cut is a judgment call, and results are judged by their interpretability and stability. A clustering method returns clusters whether or not the data contain real subgroups.
K-means with
K = 4is run on territories' loss characteristics and returns four clusters. Does this show the territories fall into four groups?
- No. K-means returns
Kclusters for any data, including data with no real subgroups.- Whether the four groups are real is judged by whether they are stable across runs and subsamples and make sense.
Scaling the variables
Results are scale-sensitive. Principal components analysis and distance-based clustering depend on the units of the variables, so the variables are standardized to unit standard deviation when their units differ. Software with different default scaling settings can give different loadings.
A pattern is not a prediction A direction of high variance or a tight cluster says nothing about losses. Structure found in the predictors becomes useful for rating only once a supervised model shows it predicts the response.
Practice questions
- CAS Exam MAS-I Spring 2018, Question 35
- CAS Exam MAS-II Fall 2019, Question 40
- CAS Exam MAS-II Spring 2019, Question 40
- CAS Exam MAS-II Spring 2019, Question 42
- SOA Exam SRM Sample Question 2
- SOA Exam SRM Sample Question 5
- SOA Exam SRM Sample Question 30
- SOA Exam SRM Sample Question 32
- SOA Exam SRM Sample Question 37
- SOA Exam SRM Sample Question 43