pyclustering icon indicating copy to clipboard operation
pyclustering copied to clipboard

K-medians wrong distance metric and inconsistent comment

Open rderi opened this issue 6 months ago • 0 comments

In pyclustering/cluster/kmedians.py the squared euclidean distance metric is used by default, whereas K-medians works with regular euclidean distances. In addition, the @brief docstring for __update_clusters() mentions using Manhattan distance, whereas it is clearly not used (and should not be, for K-medians).

rderi avatar Aug 16 '24 00:08 rderi