Pages: [1]
  Print  
Author Topic: How to get the medoids in KMedoids algorithm?  (Read 3228 times)
amy
Newbie
*
Posts: 16


« on: October 13, 2008, 02:21:21 PM »

Hi there,
I want to get the medoids of the KMedoids clustering in Jave code.
What code should I put in Java?
Thanks a lot.
Logged
amy
Newbie
*
Posts: 16


« Reply #1 on: October 15, 2008, 06:10:20 PM »

Hi there,
Thank you for your time to have a look at my problem.
It seems like that I found the solution now.
I can get the medoids now.
I added  getMedoids(), setMedoids(String[] medoids) methods in FlatCrispClusterModel, FlatClusterModel and KMedoids.
Also a small modification in KMedoids.
Logged
Sebastian Land
Hero Member
*****
Posts: 2426


WWW
« Reply #2 on: October 15, 2008, 10:49:27 PM »

Hi Amy,
the forthcoming release 4.3 includes a new version of the kmedoids algorithm. It then will provide a simple model, providing the medoids.
This means: Your problem will be solved then. But this means your changes are somehow outdated yet Smiley

By the way: If you want to test the developer version of 4.3, check out the branch Zaniah. There are some other improvements regarding the clustering, espacially the performance.


Greetings,
  Sebastian
Logged

Old World Computing - Expert Consulting and Training for RapidMiner
www.oldworldcomputing.com
Pages: [1]
  Print  
 
Jump to: