I am trying to generate a decision tree by using PROC HPSPLIT on E guide at work.
After I ran the following code, the only thing generated in results was performance information. execution mode: single mode, number of threads:2. There were no graphs at all.
(I masked the sensitive data and tried this code in SAS ondemand, it worked just fine.)
ODS GRAPHICS ON;
PROC HPSPLIT data=COMBINE_Data maxdepth=7 maxbranch=2;
Target FLAG;
input
VAR1
VAR2
VAR3
VAR4/level=nom ;
input
VAR5
VAR6
VAR7/level=int;
criterion entropy;
prune misc / N <= 6;
partition fraction(validate=0.5);
run;
A few more things I checked:
1. Option->Results General: SAS Report was selected.
2. proc setinit;run;
Product expiration dates:
---Base SAS Software 14APR2019
---SAS/STAT 14APR2019
---SAS/GRAPH 14APR2019
---SAS/ETS 14APR2019
---SAS/Secure 168-bit 14APR2019
---SAS/Secure Windows 14APR2019
---SAS Enterprise Guide 14APR2019
---SAS/ACCESS Interface to OLE DB 14APR2019
---SAS Workspace Server for Local Access 14APR2019
---High Performance Suite 14APR2019
3. proc product_status ; run;
For Base SAS Software ...
Custom version information: 9.4_M1
Image version information: 9.04.01M1P120413
For SAS/STAT ...
Custom version information: 13.1
For SAS/GRAPH ...
2 The SAS System 08:30 Monday, February 4, 2019
Custom version information: 9.4_M1
For SAS/ETS ...
Custom version information: 13.1
For High Performance Suite ...
Custom version information: 2.2
Can someone please let me know what the issue is?
Thank you,
I'm just spitballing here, but I would first remove the
ODS GRAPHICS ON;
statement, and then tweak the EG results settings. I'm wondering if you have a combination that is preventing the output you want.
See if you can get results from another proc that uses ODS graphics. If they don't come out on both, that's probably your problem.
Good luck,
Tom
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.