kmeans2 '++' method is orders of magnitude slower than sklearn.cluster.KMeans() #11877
Labels
defect
A clear bug or issue that prevents SciPy from being installed or used as expected
scipy.cluster
Milestone
The implementation of
kmeans
that uses the '++' method is orders of magnitude slower than the same algorithm in sklearn.cluster.KMeans(). This happens whenn_clusters>10
in the code below.With a 'random' initialization scipy's method is faster, so the problem is with '++'.
Reproducing code example:
Scipy/Numpy/Python version information:
1.4.1 1.18.1 sys.version_info(major=3, minor=7, micro=6, releaselevel='final', serial=0)
The text was updated successfully, but these errors were encountered: