April 2017
Beginner to intermediate
358 pages
9h 30m
English
The k-means clustering algorithm finds centroids that best represent the data using an iterative process. The algorithm starts with a predefined set of centroids, which are normally data points taken from the training data. The k in k-means is the number of centroids to look for and how many clusters the algorithm will find. For instance, setting k to 3 will find three clusters in the dataset.
There are two phases to the k-means: assignment and updating. They are explained as below:
Read now
Unlock full access