pyclust
pyclust copied to clipboard
Data Clustering in Python
I am having numpy array below is the sample, and i want to do k-medoid clustering on it and I’m getting ValueError: attempt to get argmin of an empty sequence....
I run kmedoids with (abridged) : k = 30 kmd = pyclust.KMedoids(n_clusters=k, n_trials=10) kmd.fit(data) # data is 10k points in dim 100, word representations And all goes fine with k...
I am getting a `ValueError: a must be greater than 0` after fitting my TFIDF matrix (`shape = (19134, 179)`). It's happening when `_bisect_kmeans` calls `km.fit`, and the error occurs...
Hi there ! I can't find a "how to use" file in all of the repository. Is there any way to get this ?
Get unique rows before random-sampling the centers. Otherwise some clusters will not have any member belong to it and will lead to this error: ``ValueError: attempt to get argmin of...
In python2.7, `from . import _kmeans` in file `_bisect_kmeans.py` will raise error `ImportError: cannot import name _kmeans`. This error can be solved by change `from . import _kmeans` into `import...