SciPy - Clustering and Distance
What will be the output of the following code?
from scipy.cluster.vq import kmeans import numpy as np data = np.array([[1, 1], [2, 2], [10, 10], [11, 11]]) centroids, distortion = kmeans(data, 2) print(len(centroids))
