<?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 get scoring function from PROC GAMPL in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-scoring-function-from-PROC-GAMPL/m-p/463308#M24147</link>
    <description>&lt;P&gt;I think you are correct: PROC GAMPL does not support a STORE or CODE statement.&amp;nbsp; I'm guessing the reason is that the nonparametric model is extremely complicated. I don't know the details, but for some tree-based nonparametric procedures you can't score the data unless you have&amp;nbsp;a tree that contains the original (training) data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only way I've found is to score a GAMPL&amp;nbsp;model is to use the "missing value trick": append the scoring data set to the end of the training data, using a missing value for the response of the scoring data. A discussion and example is available in the third section of the article &lt;A href="https://blogs.sas.com/content/iml/2017/12/20/create-sliced-fit-plot-sas.html" target="_self"&gt;"How to create a sliced fit plot in SAS."&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 18 May 2018 13:00:41 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2018-05-18T13:00:41Z</dc:date>
    <item>
      <title>How to get scoring function from PROC GAMPL</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-scoring-function-from-PROC-GAMPL/m-p/463138#M24142</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am building a predictive response model using proc logistic.&amp;nbsp; However, due to nonlinearity between predictors and the response, I tried to use PROC ADAPTIVEREG for regression spline basis functions to accommodate for non-linearity.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also tried PROC GAMPL to get splines but I didn't know how to get the scoring code that will do the transformation from the procedure's output.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to use the spline transformation to score my future new data and need the scoring code with transformation.&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 20:13:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-scoring-function-from-PROC-GAMPL/m-p/463138#M24142</guid>
      <dc:creator>EricTsai</dc:creator>
      <dc:date>2018-05-17T20:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get scoring function from PROC GAMPL</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-scoring-function-from-PROC-GAMPL/m-p/463303#M24146</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;wrote a blog about this before .&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/iml/" target="_blank"&gt;http://blogs.sas.com/content/iml/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 12:48:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-scoring-function-from-PROC-GAMPL/m-p/463303#M24146</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2018-05-18T12:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to get scoring function from PROC GAMPL</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-scoring-function-from-PROC-GAMPL/m-p/463308#M24147</link>
      <description>&lt;P&gt;I think you are correct: PROC GAMPL does not support a STORE or CODE statement.&amp;nbsp; I'm guessing the reason is that the nonparametric model is extremely complicated. I don't know the details, but for some tree-based nonparametric procedures you can't score the data unless you have&amp;nbsp;a tree that contains the original (training) data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only way I've found is to score a GAMPL&amp;nbsp;model is to use the "missing value trick": append the scoring data set to the end of the training data, using a missing value for the response of the scoring data. A discussion and example is available in the third section of the article &lt;A href="https://blogs.sas.com/content/iml/2017/12/20/create-sliced-fit-plot-sas.html" target="_self"&gt;"How to create a sliced fit plot in SAS."&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 13:00:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-get-scoring-function-from-PROC-GAMPL/m-p/463308#M24147</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-05-18T13:00:41Z</dc:date>
    </item>
  </channel>
</rss>

