<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to register a model using the macro %aa_model_register in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/How-to-register-a-model-using-the-macro-aa-model-register/m-p/642068#M8248</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV dir="auto"&gt;I have a model built in SAS model Studio and would like to create a model package using %aa_macro_register.&amp;nbsp;One of the parameter is scorecodefile (below). How should the path for . sas file&amp;nbsp; look like?When I specify the path where my code is saved, it doesn't recognize the path.&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;I know how to register using the GUI but I would like to do it with the macro&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;Thank you&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;
&lt;PRE class="xisDoc-code"&gt;  %aa_model_register(
      modelname=&amp;amp;model_name1,
      modeldesc=%bquote(logselect_badloans model from CAS),
      data=mycas.&amp;amp;training_dataset,
      target=BAD,
      level=binary,
     &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt; scorecodefile=~/&amp;amp;model_name1..sas,&lt;/STRONG&gt;&lt;/FONT&gt;
      scorecodeformat=DATASTEP,
      register=N,
      spk=Y,
      spkfolder=%str(~),
      miningfunction=classification,
      debug=N);&lt;/PRE&gt;
&lt;/DIV&gt;</description>
    <pubDate>Wed, 22 Apr 2020 19:24:37 GMT</pubDate>
    <dc:creator>Question</dc:creator>
    <dc:date>2020-04-22T19:24:37Z</dc:date>
    <item>
      <title>How to register a model using the macro %aa_model_register</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-to-register-a-model-using-the-macro-aa-model-register/m-p/642068#M8248</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV dir="auto"&gt;I have a model built in SAS model Studio and would like to create a model package using %aa_macro_register.&amp;nbsp;One of the parameter is scorecodefile (below). How should the path for . sas file&amp;nbsp; look like?When I specify the path where my code is saved, it doesn't recognize the path.&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;I know how to register using the GUI but I would like to do it with the macro&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;Thank you&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;
&lt;PRE class="xisDoc-code"&gt;  %aa_model_register(
      modelname=&amp;amp;model_name1,
      modeldesc=%bquote(logselect_badloans model from CAS),
      data=mycas.&amp;amp;training_dataset,
      target=BAD,
      level=binary,
     &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt; scorecodefile=~/&amp;amp;model_name1..sas,&lt;/STRONG&gt;&lt;/FONT&gt;
      scorecodeformat=DATASTEP,
      register=N,
      spk=Y,
      spkfolder=%str(~),
      miningfunction=classification,
      debug=N);&lt;/PRE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 22 Apr 2020 19:24:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-to-register-a-model-using-the-macro-aa-model-register/m-p/642068#M8248</guid>
      <dc:creator>Question</dc:creator>
      <dc:date>2020-04-22T19:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to register a model using the macro %aa_model_register</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-to-register-a-model-using-the-macro-aa-model-register/m-p/644008#M8254</link>
      <description>&lt;P&gt;I don't think that macro can be used with SAS Viya models since there is no SAS Metadata Server in SAS Viya.&amp;nbsp; This would only work in SAS 9.4 as far as I know.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 15:53:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-to-register-a-model-using-the-macro-aa-model-register/m-p/644008#M8254</guid>
      <dc:creator>WendyCzika</dc:creator>
      <dc:date>2020-04-29T15:53:05Z</dc:date>
    </item>
  </channel>
</rss>

