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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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