<?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 Converting SAS Script to PMML in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Converting-SAS-Script-to-PMML/m-p/928626#M365376</link>
    <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was trying to look for references on how to convert SAS script to PMML format but unsuccessful hence I posted here.&amp;nbsp;The SAS script looks like below. The sample below is when PMML script is converted to SAS using proc pscore. Now, I want to know if there is a way if SAS to PMML. Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;length "a_segment"n $57 ;&lt;BR /&gt;length "a_segment_new"n $62 ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;"PSCR_TEMP_FINAL_PRED_VAR"n = 0;&lt;/P&gt;&lt;P&gt;if ( "cohort"n eq 'AAA' ) then do;&lt;BR /&gt;if ( missing( "a_score_id"n ) or missing( "a_score"n ) or ( ( "a_score_id"n ne 'XXX' ) &amp;amp; ( "a_score_id"n ne 'YYY' ) ) ) then do;&lt;BR /&gt;"a_segment"n = 'SEG_A';&lt;BR /&gt;end;&lt;BR /&gt;end;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;else if("a_segment"n eq 'SEG_A') then "a_segment"n = 'SEG_A' ;&lt;BR /&gt;else if("a_segment"n eq 'SEG_B') then "a_segment"n = 'SEG_B' ;&lt;BR /&gt;PSCR_EXIT :&lt;/P&gt;&lt;P&gt;drop&lt;BR /&gt;"PSCR_TEMP_FINAL_PRED_VAR"n "PSCR_ATTRIBUTE_MATCH"n;&lt;/P&gt;</description>
    <pubDate>Thu, 16 May 2024 08:12:57 GMT</pubDate>
    <dc:creator>des2</dc:creator>
    <dc:date>2024-05-16T08:12:57Z</dc:date>
    <item>
      <title>Converting SAS Script to PMML</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Converting-SAS-Script-to-PMML/m-p/928626#M365376</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was trying to look for references on how to convert SAS script to PMML format but unsuccessful hence I posted here.&amp;nbsp;The SAS script looks like below. The sample below is when PMML script is converted to SAS using proc pscore. Now, I want to know if there is a way if SAS to PMML. Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;length "a_segment"n $57 ;&lt;BR /&gt;length "a_segment_new"n $62 ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;"PSCR_TEMP_FINAL_PRED_VAR"n = 0;&lt;/P&gt;&lt;P&gt;if ( "cohort"n eq 'AAA' ) then do;&lt;BR /&gt;if ( missing( "a_score_id"n ) or missing( "a_score"n ) or ( ( "a_score_id"n ne 'XXX' ) &amp;amp; ( "a_score_id"n ne 'YYY' ) ) ) then do;&lt;BR /&gt;"a_segment"n = 'SEG_A';&lt;BR /&gt;end;&lt;BR /&gt;end;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;else if("a_segment"n eq 'SEG_A') then "a_segment"n = 'SEG_A' ;&lt;BR /&gt;else if("a_segment"n eq 'SEG_B') then "a_segment"n = 'SEG_B' ;&lt;BR /&gt;PSCR_EXIT :&lt;/P&gt;&lt;P&gt;drop&lt;BR /&gt;"PSCR_TEMP_FINAL_PRED_VAR"n "PSCR_ATTRIBUTE_MATCH"n;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 08:12:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Converting-SAS-Script-to-PMML/m-p/928626#M365376</guid>
      <dc:creator>des2</dc:creator>
      <dc:date>2024-05-16T08:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Converting SAS Script to PMML</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Converting-SAS-Script-to-PMML/m-p/928794#M365464</link>
      <description>&lt;P&gt;What I've found is a feature in Enterprise Miner.&lt;/P&gt;
&lt;P&gt;There might be other ways, but probably not OOTB.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/emref/15.1/n0jswh909h49dnn1mq562smtf4jz.htm#p19aqwnp8fzptmn18q1c3621tj89" target="_blank"&gt;https://documentation.sas.com/doc/en/emref/15.1/n0jswh909h49dnn1mq562smtf4jz.htm#p19aqwnp8fzptmn18q1c3621tj89&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 07:12:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Converting-SAS-Script-to-PMML/m-p/928794#M365464</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2024-05-17T07:12:59Z</dc:date>
    </item>
  </channel>
</rss>

