BookmarkSubscribeRSS Feed
acordes
Rhodochrosite | Level 12

I have a decision tree model from Visual Analytics. 

I know how to score it by exporting the model and running a data step with the %include statement referencing to the data step alike scoring code from VA. It works.

 

But there is the option to register the model as well. 

I can see my model, but I'm struggling to use it for scoring in SAS Studio. 

I do not have model manager licenced.

 

Here are my unsuccessful attempts:

 

/* Load the analytic store (ASTORE) file */
proc astore; libname='/modelRepository/models/' store='Decision_tree_concept_1';
run;

/* Score new data using the loaded ASTORE */
proc astore; 
score data=MKT.ESTADO_DECISION out=MKT.ESTADO_DECISION_sc;
   score rstore='/modelRepository/models/d6332eab-c230-42fa-a75f-dcee1122d25d';
run;

 

png1.png

 

1 REPLY 1
sbxkoenk
SAS Super FREQ

Hello,

 

The Model Repository service is always available, so you can still register models if SAS Model Manager is not licensed.

So far, so good.

 

You should have a ModelStore CAS library to the /opt/sas/viya/config/data/modelsvr/astore directory.

Don't you see it in the libraries pane after submitting

 

caslib _all_ assign;

?

 

 

Here's where access to registered models is discussed :

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

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!

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
  • 1 reply
  • 1612 views
  • 0 likes
  • 2 in conversation