The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"how to get the cluster models using kmeans"
I have created my exampleset already following the tutorial. I created my kmeans operator and now I want to apply kmeans to my sample set. Now, how do I do this? I want to be able to retrieve the information about the clusters (their centroids) and I also want to know the assignment of clusters for all the data.
I found this solution in another thread:
Operator kMeans = OperatorService.createOperator(KMeans.class);
CentroidBasedClusterModel clusterModel = (CentroidBasedClusterModel) kMeans.apply(new IOContainer(exampleSet));
but the class for CentroidBasedClusterModel could not be found. I am using the .jar file that I got after installing RapidMiner v5.0 Community Edition.
I found this solution in another thread:
Operator kMeans = OperatorService.createOperator(KMeans.class);
CentroidBasedClusterModel clusterModel = (CentroidBasedClusterModel) kMeans.apply(new IOContainer(exampleSet));
but the class for CentroidBasedClusterModel could not be found. I am using the .jar file that I got after installing RapidMiner v5.0 Community Edition.
Tagged:
0
Answers
the CentroidClusterModel is now called CentroidClusterModel
I would suggest downloading the Javadoc of the API from source forge, a quick search after centroid would have solved that issue in seconds.
Greetings,
Sebastian