Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given m data points x', i = 1, ...,m, K-means clustering algorithm groups them into k clusters by mini- mizing the distortion function over {rij,
Given m data points x', i = 1, ...,m, K-means clustering algorithm groups them into k clusters by mini- mizing the distortion function over {rij, u'} m k J = EEmix - we'll?, (1) i=1j=1 where rij = 1 if x' belongs to the j-th cluster and rij = 0 otherwise. 1. (3 points) Derive mathematically that using the squared Euclidean distance |/x - w |2 as the dissim- ilarity function, the centroid that minimizes the distortion function J for given assignments r are given by Erij That is, p' is the center of j-th cluster. Hint: You may start by taking the partial derivative of J with respect to p, with rij fixed. 2. (2 points) Derive mathematically what should be the assignment variables r' be to minimize the distortion function J, when the centroids ' are fixed
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started