BookmarkSubscribeRSS Feed
Kiteulf
Quartz | Level 8

Hi

 

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

3 REPLIES 3
Reeza
Super User

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

Kiteulf
Quartz | Level 8

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

JasonXin
SAS Employee
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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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