[Java-ML-support] KMedoids
Status: Beta
Brought to you by:
thomasabeel
From: Hailpern, J. <jos...@hp...> - 2013-01-25 18:33:28
|
Kmeans works fine. However, when I try to run Kmedoids (same input) I get a NoSuchElementException. Exception in thread "main" java.util.NoSuchElementException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:796) at java.util.HashMap$KeyIterator.next(HashMap.java:828) at net.sf.javaml.clustering.KMedoids.recalculateMedoids(KMedoids.java:150) at net.sf.javaml.clustering.KMedoids.cluster(KMedoids.java:86) at _06.cluster.KmeansModeling.<init>(KmeansModeling.java:71) at Debug.main(Debug.java:69) Please advise if possible, considering it works correctly on kmeans. -Josh ---------------------------------------------------- Joshua Hailpern Research Scientist, HP Labs Homepage: www.hailpern.com/joshua/ |