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

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore 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
  • 1741 views
  • 0 likes
  • 2 in conversation