Building models with SAS Enterprise Miner, SAS Factory Miner, SAS Visual Data Mining and Machine Learning or just with programming

Decision Tree recreation

Reply
Contributor
Posts: 40

Decision Tree recreation

Hi

 

How can I recreate my tree in SAS miner, when I only have the code in sas eg.

Super User
Posts: 19,770

Re: Decision Tree recreation

Do you mean you want to score a new dataset with your decision tree rules?

Contributor
Posts: 40

Re: Decision Tree recreation

I have the rules in SAS EG. However I don't have the tree in SAS miner

SAS Employee
Posts: 122

Re: Decision Tree recreation

Hi, To the original question 1. if you are trying to score the tree on a new data set, you will not get a tree, even if you are scoring it inside EM. Because the new scoring operation does not automatically yield a target that can anchor a graph like we typically see in EM tree building process. 2. Sounds like you just want to replicate the tree graph in EM to EG environment. No, it does not happen automatically. A similar solution has been posted for proc HPSPLIT here. You can take the steps that consume the output from Proc HPSPLIT, attach to the end of your tree code to see if you can produce a graph. Some adjustments should be expected. https://communities.sas.com/t5/Mathematical-Optimization/Drawing-a-decision-tree-from-HPSPLIT/m-p/23... Hope this helps? Jason Xin
Ask a Question
Discussion stats
  • 3 replies
  • 272 views
  • 0 likes
  • 3 in conversation