FRM Part I · FRM Exam Part I · Machine-Learning Methods
In k-means clustering, an analyst increases k from 3 to 4 on the same dataset and re-runs the algorithm to convergence. Which outcome is most accurate regarding the within-cluster sum of squares (inertia)?
Inertia typically falls or stays the same as k rises, since extra centroids allow tighter clusters. It reaches zero only when k equals the number of observations. Therefore inertia alone cannot choose k, and tools such as the elbow method or silhouette scores are used.
- AIt cannot decrease, because adding a cluster forces extra distance
- BIt will always be zero when k equals 4
- CIt typically falls or stays the same, so inertia alone cannot pick the best kCorrect
- DIt must rise because the centroids are further apart
Explanation
Adding a centroid generally allows a tighter fit, so the optimal inertia is non-increasing in k, although local optima may blur this slightly. Because inertia keeps falling, the elbow method or silhouette scores are needed to choose k. Zero inertia occurs only when k equals the number of observations.
Did you get it right without looking?
One question tells you little. A timed set on Machine-Learning Methods shows your real accuracy, how long you take and where you lose marks.
More Machine-Learning Methods questions
- A risk manager lowers the probability threshold at which a logistic model classifies a borrower as a defaulter, from 0.50 to 0.30. Which out…
- An analyst standardizes a feature using the training sample mean of 12 and a training standard deviation of 4. A new observation in the test…
- A trading desk builds an algorithm that repeatedly chooses how much of a position to execute each minute. After each action it observes the …
- A risk analyst builds a feedforward neural network to predict loan default. Which statement best describes the role of the activation functi…
- A risk analyst fits a single classification tree to predict loan default and lets it grow until every training observation sits in a pure le…
- A risk analyst builds a feedforward neural network to predict loan default. The network has an input layer, two hidden layers and an output …