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
"placing new instances in clusters using cluster model"
Hi guys
In addition to clustering a dataset, RapidMiner can produce, store in repositories, and write in files cluster models. But how can an already built cluster model be used on a compatible but distinct dataset pls? I presume this is possible, due to the existence of cluster models. For instance if one wanted to place each new instance in an appropriate cluster, how can this be done in a process? Cheers!
Tagged:
0
Answers
I am not sure if really all cluster models support this, but at least for the centroid-based models (K-Means, K-Medoids), you could simply use the operator "Apply Model". This is in perfect analogy to supervised models. You will find a simple example below.
Cheers,
Ingo
In the case of other schemes (DBSCAN) the model applier works too, but it asks for the id, which it seems to match with the id of examples from the originally clustered dataset to retrieve the cluster. Obviously it makes less sense, so in this case it is sounder to: cluster the original dataset, then apply 1- or 3 -nearest neighbour learner with the cluster attribute as label, and then apply its model on the second dataset to get its examples placed in clusters via classification.
Cheers.
Cheers,
Ingo