kmedoids
kmedoids copied to clipboard
[Unmaintained] The Python implementation of k-medoids.
### This is the code I used. ![image](https://user-images.githubusercontent.com/73679587/101866681-7abd5780-3b9f-11eb-9a37-614ef2a3eee0.png) ### Then I get the following output with an error message. ![image](https://user-images.githubusercontent.com/73679587/101866751-a4767e80-3b9f-11eb-8ad0-6ad3d170c760.png) Anyone know a solution? Your kind responses are highly appreciated....
what is the tmax varaible for? and why did u set it to 100? if i have a dataset of 800 points should i put tmax=800?
for t in xrange(tmax): NameError: name 'xrange' is not defined
This error only occurs sometimes. I think when a cluster size is zero this happens. When trying to get the min of an empty array. `line 29, in kMedoids j...
Hi, I tried to get the kMedoids function to work on the provided [example ](https://github.com/letiantian/kmedoids/blob/master/example.py) but when running the following line: ``` # split into 2 clusters M, C =...
Traceback (most recent call last): File "C:/Users/AP/PycharmProjects/Btech_proj/kmedoid.py", line 24, in for point_idx in C[label]: TypeError: 'numpy.int32' object is not iterable