1
$\begingroup$

I have a homework question that ask me to derive the update rule from the distortion metric: enter image description here

It then says: "The update rule is derived by computing the gradient for each element of the k-th mean and solving for the value where the gradient is zero." Can somebody tell me what this question means? I already understand how k-means clustering works, but I need some clarification about what it means by "k-th mean" and "gradient".

$\endgroup$

1 Answer 1

1
$\begingroup$

The k-th mean just means the mean of the k-th cluster. We want to minimize the sum of squares of each of the clusters, which we do by minimizing this so-called distortion metric. The gradient is a multivariate generalization of derivatives and the gradient of this distortion metric is the zero-vector when this is optimized, and after this you update your clusters.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.