How to score a new data from the random forest node in EM. Also how to account for decision node?
Where is the data you are trying to score?
If it's in a database, see this tip: https://communities.sas.com/t5/SAS-Communities-Library/Tip-How-Can-I-Apply-HP-Forest-Score-Code-to-D...
If the data is in a SAS data set and your flow doesn't contain score code from any other nodes, you can do the following in a SAS Code node, SAS session, or SAS Enterprise Guide for the flow IDS -> HP Forest -> Score:
%let hpfst_score_input = sampsio.dmagecr;
%let em_score_output = work.myscoredata;
< paste the code from the Score node >
run;
hpfst_score_input = is the data set that you want to score
em_score_output = is the data set that you want to create (WORK. is only for example)
be sure to add a RUN; at the end - not having it gives an error.
Where is the data you are trying to score?
If it's in a database, see this tip: https://communities.sas.com/t5/SAS-Communities-Library/Tip-How-Can-I-Apply-HP-Forest-Score-Code-to-D...
If the data is in a SAS data set and your flow doesn't contain score code from any other nodes, you can do the following in a SAS Code node, SAS session, or SAS Enterprise Guide for the flow IDS -> HP Forest -> Score:
%let hpfst_score_input = sampsio.dmagecr;
%let em_score_output = work.myscoredata;
< paste the code from the Score node >
run;
hpfst_score_input = is the data set that you want to score
em_score_output = is the data set that you want to create (WORK. is only for example)
be sure to add a RUN; at the end - not having it gives an error.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.