Machine Learning, Education, Scikit Learn, Unsupervised Learning, Clustering.
in step 4). This algorithm is easy to describe and visualize. Let’s take a look. Here, we used Euclidean distance, but the algorithm will converge with any other metric. You can not only vary the number of steps or the convergence criteria but also the distance measure between the points and