BookmarkSubscribeRSS Feed
mvyas
Calcite | Level 5

can you please advise on how to merge clusters in E-Miner? one of the cluster in my model is skewed and I want to merge it with the nearest cluster.

1 REPLY 1
DougWielenga
SAS Employee

can you please advise on how to merge clusters in E-Miner?

 

There is not a way to do this directly in the Cluster node since reducing a solution from k+1 levels to a solution that has k levels (for instance) would not necessarily be the same as joining two of the clusters together.   What you seem to be describing is a simple reassignment, however, which you can accomplish fairly easily as follows:

   1 - change the Cluster Variable Role property in the Cluster node from Segment to Input and rerun the analysis

   2 - review the Cluster node results and identify which clusters you wish to combine

   3 - connect a Replacement node following the Cluster node and run the Replacement node (to update the metadata)

   4 - click on the ... to the right of Replacement Editor property in the Replacement node and reassign the cluster values produced by the Cluster node (the _SEGMENT_ variable) as desired 

   5 - run the flow from the Replacement node to obtain the desired data form

 

Hope this helps!

Doug

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1320 views
  • 0 likes
  • 2 in conversation