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
"Add cluster attribute" with AgglomerativeClustering
I am using the AgglomerativeClustering operator to cluster a small dataset. Afterwards I apply the FlattenClusterModel but I don't get an option to "add cluster attribute". Is there an easy way of doing this? (All other clustering algorithms have as a standard output the creation of a cluster variable).
0
Answers
this is easyly possible if you use the ClusterModel2ExampleSet operator afterwards: Greetings,
Sebastian
thats easy to explain:
Agglomerative Clustering does not assign an example exactly to one cluster. Instead each examples is its own cluster and then this cluster are merged until only one is left. So examples are part of many (up to n-1) clusters.
The dendogram visualizes this.
So you need to cut this tree of clusters at one part, but seeing the dendogram first gives you an impression where to cut. This is the second operator.
Since we want to keep the operators somehow elementar, we have not mixed the cutting of the tree (or flatten of the hierarchy) and the applying on the dataset. So the applying, which is needed anyway, is the third operator.
Greetings,
Sebastian