pyclustering
pyclustering copied to clipboard
K-medians wrong distance metric and inconsistent comment
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).