BookmarkSubscribeRSS Feed
acordes
Rhodochrosite | Level 12

Right after supervised learning nodes in Model Studio VDMML on SAS Viya 4, I place a sas code node to score a table with the learned scoring code. Meanwhile I can use the macro variable for referencing the astore after SVM and Gradient Boosting for example, I cannot figure out how to so for models that do not produce astore like logistic regression.

I can only achieve the scoring operation if I hard-cop the scoring code from the prior node and paste it into the data step. 

 

One of my many attempts is this: 

 

data grid_scored;
    set grid;
    %include "&dm_file_scorecode.";
run;

pic6.pngpic5.pngpic4.pngpic3.pngpic2.pngpic1.png 

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 0 replies
  • 52 views
  • 0 likes
  • 1 in conversation