BookmarkSubscribeRSS Feed
Question
Fluorite | Level 6

Hi,

 

I have a model built in SAS model Studio and would like to create a model package using %aa_macro_register. One of the parameter is scorecodefile (below). How should the path for . sas file  look like?When I specify the path where my code is saved, it doesn't recognize the path.
 
I know how to register using the GUI but I would like to do it with the macro
 
Thank you
 
  %aa_model_register(
      modelname=&model_name1,
      modeldesc=%bquote(logselect_badloans model from CAS),
      data=mycas.&training_dataset,
      target=BAD,
      level=binary,
      scorecodefile=~/&model_name1..sas,
      scorecodeformat=DATASTEP,
      register=N,
      spk=Y,
      spkfolder=%str(~),
      miningfunction=classification,
      debug=N);
1 REPLY 1
WendyCzika
SAS Employee

I don't think that macro can be used with SAS Viya models since there is no SAS Metadata Server in SAS Viya.  This would only work in SAS 9.4 as far as I know.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 635 views
  • 0 likes
  • 2 in conversation