Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
Show only best clustering result K-means
stephanie_monic
Member Posts: 1 Learner II
Hey everybody. So, I stored the K-Means, Cluster Distance Performance (I'm using Davies-Bouldin Index), and Log operators inside Loop Parameters. It will show me the all of the cluster results of each k, also the k and its Davies-Bouldin Index.
For example the best k based on Davies Bouldin Index is 4. I want to only write the best clustering result (where it clustered to 4 clusters) to excel. But it will only write the biggest k that I set on Loop Parameters clustering result on excel. (For example I set the k = 2 until 10, right now it will only write the data that has been clustered to 10 cluster).
Do you guys have any idea to do it? Thank you so much it means a lot!
0
Answers
Try the following code. It should do what you want. Instead of using a loop operator, you could use Optimize Parameters.
It's an example using the Iris dataset.