Question: in k means clustering how to find the distance between two points?
Answer: How do we find the distances? We use the coordinates of the centroids and the red dot as vectors. The k-means clustering algorithm would find the distance between the new point and each centroid, and then put the new point into the cluster with the closest centroid.