annoviko / annoviko/pyclustering
K-medians wrong distance metric and inconsistent comment
Aperta
- Lingua principale
- Python
- Stelle
- 1.2k
- Fork
- 262
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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).
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.