Machine Learning, Clustering, Data Science, Unsupervised Learning, Towards Data Science.
Let X = {x1,x2,x3,……..,xn} be the set of data points and V = {v1,v2,…….,vc} be the set of centers. Randomly select ‘c’ cluster centers. Calculate the distance between each data point and cluster centers. Assign the data point to the cluster center whose distance from the cluster center is minimum