<?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 Import model in Sas Model Manager with PMML and get error missing score.sas file in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/Import-model-in-Sas-Model-Manager-with-PMML-and-get-error/m-p/938931#M2518</link>
    <description>&lt;P&gt;Hi SAS expert,&lt;/P&gt;&lt;P&gt;I have created PMML ver 4.2 for my logistic regression model to load in SAS Model Manager. The IT team has prepared both the SAS development environment and SAS test environment for me.&lt;BR /&gt;My PMML file I created looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lyth_abb_0-1723449306427.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/99187iB794856145C1534B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lyth_abb_0-1723449306427.png" alt="lyth_abb_0-1723449306427.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And in test environment, I imported model with above PMML file and it is successfully done in about 1-2 minute, with enough necessary component files, (like image 1 below) which are:&lt;BR /&gt;- score.sas&lt;/P&gt;&lt;P&gt;- input.xml&lt;/P&gt;&lt;P&gt;- output.xml&lt;/P&gt;&lt;P&gt;- target.xml&lt;/P&gt;&lt;P&gt;(image1)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lyth_abb_0-1723449099322.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/99184i35E444C8A1F64C2C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lyth_abb_0-1723449099322.png" alt="lyth_abb_0-1723449099322.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But when I do the same to import that PMML file in SAS development environment, it took me about 30-50 minute and get missing the score.sas (like image 2 below).&lt;/P&gt;&lt;P&gt;(image 2)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lyth_abb_1-1723449127262.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/99185i1485062771C02164/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lyth_abb_1-1723449127262.png" alt="lyth_abb_1-1723449127262.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me on this issue, many thanks !!&lt;/P&gt;</description>
    <pubDate>Mon, 12 Aug 2024 07:55:14 GMT</pubDate>
    <dc:creator>lyth_abb</dc:creator>
    <dc:date>2024-08-12T07:55:14Z</dc:date>
    <item>
      <title>Import model in Sas Model Manager with PMML and get error missing score.sas file</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Import-model-in-Sas-Model-Manager-with-PMML-and-get-error/m-p/938931#M2518</link>
      <description>&lt;P&gt;Hi SAS expert,&lt;/P&gt;&lt;P&gt;I have created PMML ver 4.2 for my logistic regression model to load in SAS Model Manager. The IT team has prepared both the SAS development environment and SAS test environment for me.&lt;BR /&gt;My PMML file I created looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lyth_abb_0-1723449306427.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/99187iB794856145C1534B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lyth_abb_0-1723449306427.png" alt="lyth_abb_0-1723449306427.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And in test environment, I imported model with above PMML file and it is successfully done in about 1-2 minute, with enough necessary component files, (like image 1 below) which are:&lt;BR /&gt;- score.sas&lt;/P&gt;&lt;P&gt;- input.xml&lt;/P&gt;&lt;P&gt;- output.xml&lt;/P&gt;&lt;P&gt;- target.xml&lt;/P&gt;&lt;P&gt;(image1)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lyth_abb_0-1723449099322.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/99184i35E444C8A1F64C2C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lyth_abb_0-1723449099322.png" alt="lyth_abb_0-1723449099322.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But when I do the same to import that PMML file in SAS development environment, it took me about 30-50 minute and get missing the score.sas (like image 2 below).&lt;/P&gt;&lt;P&gt;(image 2)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lyth_abb_1-1723449127262.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/99185i1485062771C02164/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lyth_abb_1-1723449127262.png" alt="lyth_abb_1-1723449127262.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me on this issue, many thanks !!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 07:55:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Import-model-in-Sas-Model-Manager-with-PMML-and-get-error/m-p/938931#M2518</guid>
      <dc:creator>lyth_abb</dc:creator>
      <dc:date>2024-08-12T07:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Import model in Sas Model Manager with PMML and get error missing score.sas file</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Import-model-in-Sas-Model-Manager-with-PMML-and-get-error/m-p/938934#M2519</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18365"&gt;@JThompson&lt;/a&gt;&amp;nbsp; I see that you have introduced "&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/A-Tour-of-SAS-Model-Manager/ta-p/892352" target="_blank" rel="noopener"&gt;A Tour of SAS Model Manager&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;" to community ,&amp;nbsp;i think you will be able to help me because i saw you introduced a tour about sas sas mm which very few people know.&lt;BR /&gt;Many thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 08:21:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Import-model-in-Sas-Model-Manager-with-PMML-and-get-error/m-p/938934#M2519</guid>
      <dc:creator>lyth_abb</dc:creator>
      <dc:date>2024-08-12T08:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Import model in Sas Model Manager with PMML and get error missing score.sas file</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Import-model-in-Sas-Model-Manager-with-PMML-and-get-error/m-p/938965#M2520</link>
      <description>&lt;P&gt;If you look at the score code generated in your test environment, there will be a comment around line 2 starting with&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;* PSCORE TIMESTAMP:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Proc PSCORE creates the SAS score code from the PMML xml file.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;It looks like your development environment may not be configured to support running proc PSCORE. Check with your administrator to confirm.&lt;/P&gt;
&lt;P&gt;As a work-around, you can manually run the proc to create the score code. This reference provides some additional information.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/mdlmgrcdc/v_046/mdlmgrug/p0t1l5scv87yoqn1m13rzx6yy45g.htm" target="_blank"&gt;SAS Help Center: Concepts: PMML Support&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 13:39:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Import-model-in-Sas-Model-Manager-with-PMML-and-get-error/m-p/938965#M2520</guid>
      <dc:creator>PeterChristie</dc:creator>
      <dc:date>2024-08-12T13:39:06Z</dc:date>
    </item>
  </channel>
</rss>

