decision tree after cluster node for each cluster.
it asking me to set a target variable, but the cluster _SEGMENT_ is gray out., so I cannot set it
Any ideas?
Thank You
Hi Ken,
Please provide a little more background.
I frequently use decision trees to model each segment of a cluster node, but the target variable is not the segment variable.
For example for the German Credit data set I can add a cluster node that will give me X segments. For each segment I add a decision tree that will model the probability of default (variable BAD). Variable bad is the target, not the variable segment created by the cluster node.
Does that help? What are you trying to do?
Thanks,
Miguel
I am trying to cluster the bank customer and then I want to use tree to model their assets
What are the steps to do this, after you get the result from Cluster Node?:
For each segment I add a decision tree that will model the probability of default (variable BAD).
Thank You
Maybe first use a Metadata node to change the ROLE of the _SEGMENT_ variable.
If I remember correctly the Cluster Node itself creates a small decision tree, where the target is the segment. You can use that tree to inspect your clusters or get approximate rules for you clusters.
Cluster Node itself creates a small decision tree, where the target is the segment?
I see a tree will all segment only, do you know where to get the tree for each segment individually?
Thank you
I think there is only this tree with the _SEGMENT_ variable in the target role. No individual trees for each segment.
Sorry, previously I thought you want to create a decision tree, to explore your clusters.
If you want one model for each segment: In this case you can use the Star/End Group nodes and get a segmented model. And then put a tree node between them.
Or you want to use the _SEGMENT_ variabel as an INPUT variable? This is also possible, you need to change the ROLE of the _SEGMENT_ variable to INPUT.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.