<?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: Duplicate feature extraction node to different project in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/Duplicate-feature-extraction-node-to-different-project/m-p/796482#M1360</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/416296"&gt;@DvdM&lt;/a&gt;&amp;nbsp;you need to have an active CAS session to run the score code. To assign the CASUSER CASLIB you can simply run&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname casuser cas;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
    <pubDate>Wed, 16 Feb 2022 08:53:03 GMT</pubDate>
    <dc:creator>HarrySnart</dc:creator>
    <dc:date>2022-02-16T08:53:03Z</dc:date>
    <item>
      <title>Duplicate feature extraction node to different project</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Duplicate-feature-extraction-node-to-different-project/m-p/796039#M1357</link>
      <description>&lt;P&gt;I have experienced that the feature extraction node can give varying results based on the random seed used for RPCA/SVD. I have a feature extraction node which has resulted in high scores, so I would like to be able to reuse that exact node in another project/pipeline. Duplicating does not work as it will reset the seed, resulting in different outcomes. Does anyone know how I can copy the node (with its seed) or use its score code in a different project?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 13:11:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Duplicate-feature-extraction-node-to-different-project/m-p/796039#M1357</guid>
      <dc:creator>DvdM</dc:creator>
      <dc:date>2022-02-14T13:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate feature extraction node to different project</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Duplicate-feature-extraction-node-to-different-project/m-p/796335#M1358</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/416296"&gt;@DvdM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to re-use the output data from the node you can view and save the output data from the node results. This can be saved as an in-memory CAS table for use in other projects.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HarrySnart_1-1644943634401.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68491iF4C640743B7B423B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HarrySnart_1-1644943634401.png" alt="HarrySnart_1-1644943634401.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to re-use the code used to generate the results, you can save the score code from the node. This is on the summary tab of the node results.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HarrySnart_0-1644943584489.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68490i5C006161BC9F895C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HarrySnart_0-1644943584489.png" alt="HarrySnart_0-1644943584489.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An example of the score code (you can use the programming tasks in SAS Studio to generate the code for you)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*Point to score code saved from Model Studio Node;&lt;BR /&gt;filename sfile '/home/sukhsn/casuser/PCA_Score.sas';
&lt;BR /&gt;*Create output dataset calling score file;
data CASUSER.PCA_OUT;
	set CASUSER.HMEQ;
	%include sfile;
run;

*View results;&lt;BR /&gt;proc&amp;nbsp;print&amp;nbsp;data&amp;nbsp;=&amp;nbsp;CASUSER.PCA_OUT;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to re-use the settings you selected for the node, you can save the node to the exchange. This can then be added to new Model Studio pipelines for re-use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 16:48:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Duplicate-feature-extraction-node-to-different-project/m-p/796335#M1358</guid>
      <dc:creator>HarrySnart</dc:creator>
      <dc:date>2022-02-15T16:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate feature extraction node to different project</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Duplicate-feature-extraction-node-to-different-project/m-p/796472#M1359</link>
      <description>&lt;P&gt;Thank you very much for your reply Harry. I indeed want to re-use the generated code to score other data. I saved the score code from the node and uploaded it to my folder.&amp;nbsp;However,&amp;nbsp; when I run the exact code that you supplied (with the necessary changes of user information of course) I get the error '&lt;SPAN&gt;Libref CASUSER is not assigned'. Could you tell me how I could resolve this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you again!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 07:56:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Duplicate-feature-extraction-node-to-different-project/m-p/796472#M1359</guid>
      <dc:creator>DvdM</dc:creator>
      <dc:date>2022-02-16T07:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate feature extraction node to different project</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Duplicate-feature-extraction-node-to-different-project/m-p/796482#M1360</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/416296"&gt;@DvdM&lt;/a&gt;&amp;nbsp;you need to have an active CAS session to run the score code. To assign the CASUSER CASLIB you can simply run&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname casuser cas;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 08:53:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Duplicate-feature-extraction-node-to-different-project/m-p/796482#M1360</guid>
      <dc:creator>HarrySnart</dc:creator>
      <dc:date>2022-02-16T08:53:03Z</dc:date>
    </item>
  </channel>
</rss>

