Hi Josh,
Sorry for the very much delayed response.
If this is still an issue, can you provide a minimal dataset that
illustrates the problem and share it so I can reproduce?
thanks,
Thomas
On 1/25/2013 1:32 PM, Hailpern, Joshua wrote:
> 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/
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> _______________________________________________
> Java-ml-support mailing list
> Jav...@li...
> https://lists.sourceforge.net/lists/listinfo/java-ml-support
|