SciPy - Clustering and Distance
What is wrong with this clustering code?
from scipy.cluster.vq import vq import numpy as np data = np.array([[1, 2], [3, 4]]) centroids = np.array([[1, 2]]) labels, _ = vq(data, centroids) print(labels)
