annoviko / annoviko/pyclustering
K-medians wrong distance metric and inconsistent comment
Ouverte
- Langage dominant
- Python
- Étoiles
- 1.2k
- Forks
- 262
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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).
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.