FRM Part I · FRM Exam Part I · Machine Learning and Prediction
A K-means model is fitted to stocks for K = 1 to 5, producing total within-cluster sum of squares of 500, 220, 100, 90 and 85 respectively. Which conclusion is best supported by the elbow method?
The elbow method supports K = 3. Within-cluster sum of squares drops by 120 from K = 2 to K = 3, but only by 10 and 5 afterwards, so the curve flattens at three clusters. Choosing the lowest value (K = 5) would overfit, since it always falls as K rises.
- AK = 5, because it gives the lowest within-cluster sum of squares
- BK = 3, because the reduction from K = 2 to K = 3 is large (120) while further gains are small (10 or less)Correct
- CK = 2, because it gives the largest single drop from the previous value
- DK = 1, because within-cluster sum of squares is always minimized by a single cluster
Explanation
Within-cluster sum of squares always falls as K rises, so the minimum alone is uninformative. Drops are 280 (1 to 2), 120 (2 to 3), 10 (3 to 4), 5 (4 to 5). The bend where gains become marginal is at K = 3. Choosing K = 1 is wrong because WCSS is highest there.
Did you get it right without looking?
One question tells you little. A timed set on Machine Learning and Prediction shows your real accuracy, how long you take and where you lose marks.
More Machine Learning and Prediction questions
- A PCA on six standardized variables yields eigenvalues of 3.0, 1.5, 0.6, 0.45, 0.30 and 0.15. What is the minimum number of components neede…
- A bank tests a default-prediction classifier on 200 loans. The model flags 40 loans as defaults, of which 30 actually defaulted. In total 50…
- A bank's credit-default classifier is tested on 200 loans. It flags 50 loans as defaults, of which 40 actually defaulted. In total 60 loans …
- A neural network with many parameters achieves very low error on the training set but substantially higher error on a validation set. Which …
- A model predicts whether a trade is fraudulent. Of 1,000 trades, 20 are actually fraudulent. The model flags 25 trades, of which 15 are actu…
- A LASSO regression with a single standardized predictor minimizes the sum of squared residuals plus lambda times the absolute value of the c…