annoviko / annoviko/pyclustering
change numpy.warnings to warnings in cluster/center_initializer.py
Ouverte
- Langage dominant
- Python
- Étoiles
- 1.2k
- Forks
- 262
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
newer NumPy removes warnings module from the main namespace, therefore numpy.warnings results in error
https://github.com/annoviko/pyclustering/blob/bf4f51a472622292627ec8c294eb205585e50f52/pyclustering/cluster/center_initializer.py#L248
Since warnings module is already imported here, the "numpy." specifier should be removed.
The change responsible in NumPy
https://github.com/numpy/numpy/commit/118e6c433a9afdefbfad7652f56e2b97e23bc508
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.