<?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: Scoring PROC HPForest in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Scoring-PROC-HPForest/m-p/210981#M2983</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&amp;nbsp; That is pretty close to what I ended up using.&amp;nbsp; I intended to create a macro in EG, so hp4score seemed like the correct proc.&amp;nbsp; The "save file=" syntax (below in bold) was what I could not find in any documentation.&amp;nbsp; It seems to have to appear after ods output and EG editor shows "save" as an error in red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc hpforest data=work.rftrain ;&lt;/P&gt;&lt;P&gt;target y /level=interval;&lt;/P&gt;&lt;P&gt;input x1--x42 /level=interval;&lt;/P&gt;&lt;P&gt;ods output fitstatistics=fitstats;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;save file="P:\model.bin";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc hp4score data=rftest;&lt;/P&gt;&lt;P&gt;id Index y;&lt;/P&gt;&lt;P&gt;score file="P\model.bin" out=rfscored;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 26 Jul 2015 23:38:24 GMT</pubDate>
    <dc:creator>tronfela</dc:creator>
    <dc:date>2015-07-26T23:38:24Z</dc:date>
    <item>
      <title>Scoring PROC HPForest</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Scoring-PROC-HPForest/m-p/210979#M2981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Howdy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to use a model from PROC HPForest in EG to score a dataset.&amp;nbsp; It looks like HP4SCORE is designed to take a model output from HPForest but I cannot see how to output the model in any documentation, which is pretty sparse on this PROC.&amp;nbsp; ods trace on /listing does not indicate any useful objects are being output for this purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jul 2015 05:12:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Scoring-PROC-HPForest/m-p/210979#M2981</guid>
      <dc:creator>tronfela</dc:creator>
      <dc:date>2015-07-25T05:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Scoring PROC HPForest</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Scoring-PROC-HPForest/m-p/210980#M2982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tronfela,&lt;/P&gt;&lt;P&gt;Howdy!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you created your HPForest model using Enterpise Miner, the easiest to score in EG would be to borrow the scorecode sas program as described in the tip below.&lt;/P&gt;&lt;P&gt;Step number 4 tells you where to grab it. It includes a HP4Score that you can use as an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="7832" __jive_macro_name="document" class="jive_macro jive_macro_document" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know it is a bit confusing that you have to use another proc to score, but it keeps thing very efficient. Data step code to score an hpforest model would be quite large.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jul 2015 19:16:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Scoring-PROC-HPForest/m-p/210980#M2982</guid>
      <dc:creator>M_Maldonado</dc:creator>
      <dc:date>2015-07-26T19:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Scoring PROC HPForest</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Scoring-PROC-HPForest/m-p/210981#M2983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&amp;nbsp; That is pretty close to what I ended up using.&amp;nbsp; I intended to create a macro in EG, so hp4score seemed like the correct proc.&amp;nbsp; The "save file=" syntax (below in bold) was what I could not find in any documentation.&amp;nbsp; It seems to have to appear after ods output and EG editor shows "save" as an error in red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc hpforest data=work.rftrain ;&lt;/P&gt;&lt;P&gt;target y /level=interval;&lt;/P&gt;&lt;P&gt;input x1--x42 /level=interval;&lt;/P&gt;&lt;P&gt;ods output fitstatistics=fitstats;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;save file="P:\model.bin";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc hp4score data=rftest;&lt;/P&gt;&lt;P&gt;id Index y;&lt;/P&gt;&lt;P&gt;score file="P\model.bin" out=rfscored;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jul 2015 23:38:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Scoring-PROC-HPForest/m-p/210981#M2983</guid>
      <dc:creator>tronfela</dc:creator>
      <dc:date>2015-07-26T23:38:24Z</dc:date>
    </item>
  </channel>
</rss>

