<?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 Re: How to use an existing score code in a new pipeline (build models viya) in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/How-to-use-an-existing-score-code-in-a-new-pipeline-build-models/m-p/673218#M8359</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/14512"&gt;@WendyCzika&lt;/a&gt; I have tried your solution at &lt;A href="https://communities.sas.com/t5/SAS-Data-Mining-and-Machine/How-to-use-the-scoring-code-from-gradient-boosting/td-p/263498" target="_blank"&gt;https://communities.sas.com/t5/SAS-Data-Mining-and-Machine/How-to-use-the-scoring-code-from-gradient-boosting/td-p/263498&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;by inserting the %inc line.&lt;/P&gt;
&lt;P&gt;%inc '/caslibs/danalytics/svd.sas';&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But it doesn't work as expected due to the score file type giving me an error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I tried the following but without success as well.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc astore;
score data=&amp;amp;dm_data 
rstore=MODELS._654S34YEIM3X7NLUBHJ8PQRK2_AST
out=&amp;amp;dm_data_caslib.test; 
run;

filename delta "&amp;amp;dm_file_deltacode";
data _null_;
  file delta;
  merge &amp;amp;dm_data &amp;amp;dm_data_caslib.test(keep= _SVDDDISTANCE_ bastidor origin);
  by origin bastidor;
  put "if NAME='_SVDDDISTANCE_' then do; ROLE='INPUT'; LEVEL='INTERVAL'; end;";
run;
filename delta;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 29 Jul 2020 16:59:49 GMT</pubDate>
    <dc:creator>acordes</dc:creator>
    <dc:date>2020-07-29T16:59:49Z</dc:date>
    <item>
      <title>How to use an existing score code in a new pipeline (build models viya)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-to-use-an-existing-score-code-in-a-new-pipeline-build-models/m-p/673164#M8358</link>
      <description>&lt;P&gt;I want to derive a scoring code (i.e. from a cluster that I'd learned before) and assign this new variable an input role or filter role.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I try to insert a sas code node and run the proc astore that works fine in SAS Studio.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But how can I achieve that the new variable shows up in the training data set?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="language-sas"&gt;&lt;CODE&gt;/* SAS code */
proc astore;
score data=&amp;amp;dm_data
rstore=MODELS._654S34YEIM3X7NLUBHJ8PQRK2_AST
out=&amp;amp;dm_data_outmodel; 
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="score outside.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/47767iB02EB75F71F61D55/image-size/large?v=v2&amp;amp;px=999" role="button" title="score outside.png" alt="score outside.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 15:00:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-to-use-an-existing-score-code-in-a-new-pipeline-build-models/m-p/673164#M8358</guid>
      <dc:creator>acordes</dc:creator>
      <dc:date>2020-07-29T15:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to use an existing score code in a new pipeline (build models viya)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-to-use-an-existing-score-code-in-a-new-pipeline-build-models/m-p/673218#M8359</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/14512"&gt;@WendyCzika&lt;/a&gt; I have tried your solution at &lt;A href="https://communities.sas.com/t5/SAS-Data-Mining-and-Machine/How-to-use-the-scoring-code-from-gradient-boosting/td-p/263498" target="_blank"&gt;https://communities.sas.com/t5/SAS-Data-Mining-and-Machine/How-to-use-the-scoring-code-from-gradient-boosting/td-p/263498&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;by inserting the %inc line.&lt;/P&gt;
&lt;P&gt;%inc '/caslibs/danalytics/svd.sas';&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But it doesn't work as expected due to the score file type giving me an error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I tried the following but without success as well.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc astore;
score data=&amp;amp;dm_data 
rstore=MODELS._654S34YEIM3X7NLUBHJ8PQRK2_AST
out=&amp;amp;dm_data_caslib.test; 
run;

filename delta "&amp;amp;dm_file_deltacode";
data _null_;
  file delta;
  merge &amp;amp;dm_data &amp;amp;dm_data_caslib.test(keep= _SVDDDISTANCE_ bastidor origin);
  by origin bastidor;
  put "if NAME='_SVDDDISTANCE_' then do; ROLE='INPUT'; LEVEL='INTERVAL'; end;";
run;
filename delta;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Jul 2020 16:59:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-to-use-an-existing-score-code-in-a-new-pipeline-build-models/m-p/673218#M8359</guid>
      <dc:creator>acordes</dc:creator>
      <dc:date>2020-07-29T16:59:49Z</dc:date>
    </item>
  </channel>
</rss>

