Unsupervised Learning: Difference between revisions

no edit summary
No edit summary
Line 8: Line 8:
Here we wish to cluster them to minimize the distance to the mean of their cluster.<br>
Here we wish to cluster them to minimize the distance to the mean of their cluster.<br>
In our formulation we have k clusters.<br>
In our formulation we have k clusters.<br>
The mean of each cluster <math>\mu_i</math> is called the centroid.</math><br>
The mean of each cluster <math>\mu_i</math> is called the centroid.<br>
====Optimization====
====Optimization====
Let <math>\mathbf{\mu}</math> denote the centroids and let <math>\mathbf{z}</math> denote the cluster labels for our data.<br>
Let <math>\mathbf{\mu}</math> denote the centroids and let <math>\mathbf{z}</math> denote the cluster labels for our data.<br>