BookmarkSubscribeRSS Feed
a_bloch
Calcite | Level 5

Good afternoon,

 

I am struggling to interpret the results of the decision tree diagram (see attachment 1) as I cannot display the original labels of the categories contained in each leaf, which have been substituted by numbers indicating each different level. Needless to say that I have explored all options available both on the menu on the top and by right clicking and checking Graph properties / View / Tools / etc.

 

This also applies when I open the distributions of nominal variables (e.g.Product Name) by right-clicking on the "File-Import" node (see attachment 2).

 

I used to do this quite rapidly from SAS -> Solution -> Analysis -> EM, but now I have a different license and cannot run SAS EM from SAS, so I can only use SAS EM 12.3 which is a different software.

Any help greatly appreciated,

A_bloch


Capture1.PNGCapture2.PNG
2 REPLIES 2
rayIII
SAS Employee

Hi.

 

So you want the formatted values to show up as node labels instead of the raw integers, right? 

 

 

Does it work if you use the DM Exa -1 sample dataset? The dataset includes several formatted numeric inputs like edlevel, marital. When I treat them as nominal and build the tree, I see the formatted values. See attachment. 

 

Is it possible that options nofmterr is in effect so your dataset is  being loaded without the formats? 

 

Hope this helps.

 

Ray

 

 


tree formatted values.png
Alankar
Fluorite | Level 6

why there is always "or Missing" in the labels, though i have no missing values in data? isn't it annoying? is there anyway to not to show on the tree? thanks!

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 2 replies
  • 1588 views
  • 0 likes
  • 3 in conversation