<?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: Is there any way to make the score.sas program produced by Enterprise Miner smaller? in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Is-there-any-way-to-make-the-score-sas-program-produced-by/m-p/832782#M10302</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The length of the score code ( score.sas ) is only slightly related to the duration in which it can be executed.&lt;/P&gt;
&lt;P&gt;It also depends on what exactly is done in all these statements of course.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is your SAS Enterprise Miner model? (Gradient Boosting, SVM, regression, ...)?&lt;/P&gt;
&lt;P&gt;The simpler the model, the faster it can be deployed and the faster it will score new data of course.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can work with MP Connect for scoring.&lt;/P&gt;
&lt;P&gt;Every record is scored independently from other records (which is typical for cross-sectional data). &lt;BR /&gt;So, you can split your data in 10 equal parts and score simultaneously in 10 remote sessions (that all run in parallel).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are some good introductions to MP Connect (especially the 1&lt;SUP&gt;st&lt;/SUP&gt; one is very clear) :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Running SAS programs in parallel using SAS/CONNECT®&lt;/P&gt;
&lt;P&gt;By Leonid Batkhan on SAS Users January 13, 2021&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sgf/2021/01/13/running-sas-programs-in-parallel-using-sas-connect/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2021/01/13/running-sas-programs-in-parallel-using-sas-connect/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Base SAS + SAS/CONNECT - A simple method to generate load on any number of licensed cores&lt;/P&gt;
&lt;P&gt;Posted 04-08-2021 05:46 AM | by SimonWilliams&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Base-SAS-SAS-CONNECT-A-simple-method-to-generate-load-on-any/ta-p/732174" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/Base-SAS-SAS-CONNECT-A-simple-method-to-generate-load-on-any/ta-p/732174&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
    <pubDate>Sun, 11 Sep 2022 21:15:01 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2022-09-11T21:15:01Z</dc:date>
    <item>
      <title>Is there any way to make the score.sas program produced by Enterprise Miner smaller?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Is-there-any-way-to-make-the-score-sas-program-produced-by/m-p/832689#M10301</link>
      <description>&lt;P&gt;The score node coming out of my SAS Enterprise Model is very large and that causes the analysis to run very slowly.&amp;nbsp; What can I do to get a smaller score.sas program output from my model?&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2022 21:58:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Is-there-any-way-to-make-the-score-sas-program-produced-by/m-p/832689#M10301</guid>
      <dc:creator>stephensloan</dc:creator>
      <dc:date>2022-09-10T21:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to make the score.sas program produced by Enterprise Miner smaller?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Is-there-any-way-to-make-the-score-sas-program-produced-by/m-p/832782#M10302</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The length of the score code ( score.sas ) is only slightly related to the duration in which it can be executed.&lt;/P&gt;
&lt;P&gt;It also depends on what exactly is done in all these statements of course.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is your SAS Enterprise Miner model? (Gradient Boosting, SVM, regression, ...)?&lt;/P&gt;
&lt;P&gt;The simpler the model, the faster it can be deployed and the faster it will score new data of course.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can work with MP Connect for scoring.&lt;/P&gt;
&lt;P&gt;Every record is scored independently from other records (which is typical for cross-sectional data). &lt;BR /&gt;So, you can split your data in 10 equal parts and score simultaneously in 10 remote sessions (that all run in parallel).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are some good introductions to MP Connect (especially the 1&lt;SUP&gt;st&lt;/SUP&gt; one is very clear) :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Running SAS programs in parallel using SAS/CONNECT®&lt;/P&gt;
&lt;P&gt;By Leonid Batkhan on SAS Users January 13, 2021&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sgf/2021/01/13/running-sas-programs-in-parallel-using-sas-connect/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2021/01/13/running-sas-programs-in-parallel-using-sas-connect/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Base SAS + SAS/CONNECT - A simple method to generate load on any number of licensed cores&lt;/P&gt;
&lt;P&gt;Posted 04-08-2021 05:46 AM | by SimonWilliams&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Base-SAS-SAS-CONNECT-A-simple-method-to-generate-load-on-any/ta-p/732174" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/Base-SAS-SAS-CONNECT-A-simple-method-to-generate-load-on-any/ta-p/732174&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Sun, 11 Sep 2022 21:15:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Is-there-any-way-to-make-the-score-sas-program-produced-by/m-p/832782#M10302</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-09-11T21:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to make the score.sas program produced by Enterprise Miner smaller?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Is-there-any-way-to-make-the-score-sas-program-produced-by/m-p/832916#M10304</link>
      <description>Thank you for your reply.&lt;BR /&gt;&lt;BR /&gt;I'm running an ensemble with Decision Tree and neural net.&lt;BR /&gt;&lt;BR /&gt;Running in parallel is a good suggestion, but I'd still like to reduce the size of the score.sas program if possible.  Are there any papers on how to do that?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Sep 2022 15:14:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Is-there-any-way-to-make-the-score-sas-program-produced-by/m-p/832916#M10304</guid>
      <dc:creator>stephensloan</dc:creator>
      <dc:date>2022-09-12T15:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to make the score.sas program produced by Enterprise Miner smaller?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Is-there-any-way-to-make-the-score-sas-program-produced-by/m-p/833070#M10308</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Allow me to say that this is a strange question.&lt;/P&gt;
&lt;P&gt;Reducing the size of the scoring code (score.sas)??&lt;BR /&gt;You cannot intervene on the code itself !! That much is certain.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I know, the score code&amp;nbsp;purifies itself. &lt;BR /&gt;Meaning this --&amp;gt; All steps that you have done in your analysis flow that do not make it into the final model are purged automatically.&lt;BR /&gt;&lt;BR /&gt;To be sure, you could make a new flow.&lt;BR /&gt;* Take out all variables not used by the final (ensemble) model.&lt;BR /&gt;* Only put nodes in your flow that take actions on the data that you really need.&lt;BR /&gt;With this clean process flow (which has fewer variables and fewer nodes), your score code might become simpler.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 08:47:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Is-there-any-way-to-make-the-score-sas-program-produced-by/m-p/833070#M10308</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-09-13T08:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to make the score.sas program produced by Enterprise Miner smaller?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Is-there-any-way-to-make-the-score-sas-program-produced-by/m-p/833113#M10309</link>
      <description>&lt;P&gt;Reducing and optimizing code is manual work, to be done by a proficient programmer. After every step, run a regression test to verify that the code still delivers the same result.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 12:56:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Is-there-any-way-to-make-the-score-sas-program-produced-by/m-p/833113#M10309</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-09-13T12:56:07Z</dc:date>
    </item>
  </channel>
</rss>

