It is easy to implement k-means lacks consistency
Euclidean distance is a measure of the straight-line distance between two points in Euclidean space. It is the most widely used method of measuring distance between two points, and is the basis for many other types of distance metrics. Euclidean distance is calculated as the square root of the sum of the squared differences between a pair of points. For example, the Euclidean distance between points (x1,y1) and (x2,y2) is given by the formula: √(x2-x1)2 + (y2-y1)2. Euclidean distance can be calculated in any number of dimensions, and is particularly useful when dealing with multidimensional data. It is often used in machine learning and data mining applications to measure the similarity between data points.
To learn more about euclidean refer to:
https://brainly.com/question/28370661
#SPJ4