Download Cluster analysis techniques in data mining and more Lecture notes Data Mining in PDF only on Docsity!
__ 8.2.6 K-means as an Optimization Problem we delve into the ; . i FE ckipped without oss « otal ae K-means. This section, which can _ partial derivatives. Familiarity with ¢ sequniee knigledaeat calculus through aa nil ; y with optimization techniques, especially those sed on gra ient descent, may also be helpful. As en are given an objective function such as “minimize SSE,” cluster as an optimization problem. One way to solve this lem—to find a global optimum—is to enumerate all possible ways of di- viding the points into clusters and then choose the set of clusters that best satisfies the objective function, e.g., that minimizes the total SSE. Of course, ‘this exhaustive strategy is computationally infeasible and as a result, a more ical approach is needed, even if such an approach finds solutions that are e optimal. One technique, which is known as gradient ent, is based on picking an initial solution and then repeating the fol- ing two steps: compute the change to the solution that best optimizes the ective function and then update the solution. ne-dimensional, i.e., dist(z,y) = (@ - y)?- We assume that the data is 0} does not change anything essential, but greatly simplifies the notation. guaranteed to b rivation of K-means as an Algorithm to Minimize the SSE this section, we show the K-means algorithm can be function is Euclidean distance fically, we investigate how we Juster SSE is minimized. In 8.1, which we repeat here, how the centroid for matically derived when the proximity 1 objective is to minimize the SSE. Speci update a cluster cid so that the ¢ centr! tical terms, We seek to minimize Equation for one-dimensional data. K gsp= >> Do (@- 2) j=1 cei (8.4)