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
"Joining two examplesets by Clusters."
Hi,
I have an exampleset on which kmeans is run and a variable 'Cluster' giving the cluster groupings in the data. There is also an ID variable in the same data.
I have an another exampleset, giving the cluster centroids. This data also has a variable called cluster, having the values same as the first exampleset, but each cluster appears only once. If there are 3 clusters, then there are only three examples here. This exampleset does NOT have an Id variable.
In both the examplesets, the type of the 'cluster' variable is regular.
Now, I want to join the above datasets by the 'cluster' variable. But the error i get is:"Input exampleset does not have an ID attribute". But i want to join the data by 'cluster' variable. How do i do it? Do i have to convert the regular type cluster variables to 'Id' variable in both the examplesets?
Thank you very much for your help,
Shubha
I have an exampleset on which kmeans is run and a variable 'Cluster' giving the cluster groupings in the data. There is also an ID variable in the same data.
I have an another exampleset, giving the cluster centroids. This data also has a variable called cluster, having the values same as the first exampleset, but each cluster appears only once. If there are 3 clusters, then there are only three examples here. This exampleset does NOT have an Id variable.
In both the examplesets, the type of the 'cluster' variable is regular.
Now, I want to join the above datasets by the 'cluster' variable. But the error i get is:"Input exampleset does not have an ID attribute". But i want to join the data by 'cluster' variable. How do i do it? Do i have to convert the regular type cluster variables to 'Id' variable in both the examplesets?
Thank you very much for your help,
Shubha
Tagged:
0
Answers
Why did you not simply try it out?
Cheers,
Ingo