<?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: proc arboretum in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/proc-arboretum/m-p/434891#M6698</link>
    <description>&lt;P&gt;Hi, Fatemeh.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, by default, PROC ARBORETUM does retrospective pruning.&amp;nbsp; The SEQUENCE=seq data set contains a subtree sequence with some fit statistic for each subtree.&amp;nbsp; You can select a specific subtree, say one with 10 leaves,&amp;nbsp; by&lt;/P&gt;
&lt;P&gt;PROC ARBOR INMODEL=model;&lt;/P&gt;
&lt;P&gt;SUBTREE NLEAVES=10;&lt;/P&gt;
&lt;P&gt;SAVE MODEL=newmodel;&lt;/P&gt;
&lt;P&gt;QUIT;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To prune a specific node, say node 20, do,&lt;/P&gt;
&lt;P&gt;PROC ARBOR INMODEL=model;&lt;/P&gt;
&lt;P&gt;PRUNE nodes=20;&lt;/P&gt;
&lt;P&gt;SAVE MODEL=newmodel;&lt;/P&gt;
&lt;P&gt;QUIT;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I googled&amp;nbsp;"SAS PROC ARBORETUM" and the documentation came up first.&lt;/P&gt;
&lt;P&gt;Let me know if you need more information about ARBOR.&lt;/P&gt;
&lt;P&gt;-Padraic&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Feb 2018 15:19:54 GMT</pubDate>
    <dc:creator>PadraicGNeville</dc:creator>
    <dc:date>2018-02-07T15:19:54Z</dc:date>
    <item>
      <title>proc arboretum</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/proc-arboretum/m-p/408091#M6218</link>
      <description>&lt;P&gt;hi. i am using proc arboretum for decision tree algorithm in sas 9.4 version .my target variable is nominal (categorical) with 24 level .when i applied proc arboretum it gave me a tree .does proc arboretum prunes the tree by default ? if not how can i prune it? how do i&amp;nbsp; select a branch to be pruned? how to check the accuracy ?if anyone knows appreciate share it with me. is there any book for sas 9.4 version that explains it? thanks for any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc arboretum data=mydata ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; target x1 / level=nominal;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;input&amp;nbsp; x2 x3 x4 x5&amp;nbsp; /level=nominal;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; input&amp;nbsp; x6 x7 x8 x9 x10x x11 x12&amp;nbsp; x13&amp;nbsp; x14&amp;nbsp; x15&amp;nbsp; x16&amp;nbsp; x17&amp;nbsp; x18&amp;nbsp; x19&amp;nbsp; x20 / level=interval;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; save&amp;nbsp;&amp;nbsp; IMPORTANCE=imp&amp;nbsp; MODEL=model &amp;nbsp;&amp;nbsp; NODESTATS=nodstat&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RULES=rul &amp;nbsp; SEQUENCE=seq &amp;nbsp;&amp;nbsp; STATSBYNODE= statb &amp;nbsp; summary=sum &amp;nbsp; ;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 15:51:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/proc-arboretum/m-p/408091#M6218</guid>
      <dc:creator>fatemeh</dc:creator>
      <dc:date>2017-10-27T15:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: proc arboretum</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/proc-arboretum/m-p/409963#M6238</link>
      <description>&lt;P&gt;The ARBORETUM procedure was designed to be used by the Decision Tree node in SAS Enterprise Miner so using it directly is not supported.&amp;nbsp; If you have SAS Enterprise Miner, it is easy to prune trees using the Interactive property in the Decision Tree node.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to call a procedure to fit a tree, try using the HPSPLIT procedure which was initially available in SAS/STAT 14.1.&amp;nbsp; &amp;nbsp;The HPSPLIT procedure has a PRUNE statement that should provide what you need.&amp;nbsp; &amp;nbsp;You can find the documentation for this procedure by viewing the SAS/STAT 14.x documentation at&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://support.sas.com/documentation/onlinedoc/stat/index.html" target="_blank"&gt;https://support.sas.com/documentation/onlinedoc/stat/index.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and then opening the link to the&amp;nbsp;SAS/STAT 14.x User's Guide&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://support.sas.com/documentation/onlinedoc/stat/indexproc.html#stat143" target="_blank"&gt;SAS/STAT Procedures&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Doug&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 18:46:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/proc-arboretum/m-p/409963#M6238</guid>
      <dc:creator>DougWielenga</dc:creator>
      <dc:date>2017-11-02T18:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: proc arboretum</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/proc-arboretum/m-p/434891#M6698</link>
      <description>&lt;P&gt;Hi, Fatemeh.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, by default, PROC ARBORETUM does retrospective pruning.&amp;nbsp; The SEQUENCE=seq data set contains a subtree sequence with some fit statistic for each subtree.&amp;nbsp; You can select a specific subtree, say one with 10 leaves,&amp;nbsp; by&lt;/P&gt;
&lt;P&gt;PROC ARBOR INMODEL=model;&lt;/P&gt;
&lt;P&gt;SUBTREE NLEAVES=10;&lt;/P&gt;
&lt;P&gt;SAVE MODEL=newmodel;&lt;/P&gt;
&lt;P&gt;QUIT;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To prune a specific node, say node 20, do,&lt;/P&gt;
&lt;P&gt;PROC ARBOR INMODEL=model;&lt;/P&gt;
&lt;P&gt;PRUNE nodes=20;&lt;/P&gt;
&lt;P&gt;SAVE MODEL=newmodel;&lt;/P&gt;
&lt;P&gt;QUIT;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I googled&amp;nbsp;"SAS PROC ARBORETUM" and the documentation came up first.&lt;/P&gt;
&lt;P&gt;Let me know if you need more information about ARBOR.&lt;/P&gt;
&lt;P&gt;-Padraic&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 15:19:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/proc-arboretum/m-p/434891#M6698</guid>
      <dc:creator>PadraicGNeville</dc:creator>
      <dc:date>2018-02-07T15:19:54Z</dc:date>
    </item>
  </channel>
</rss>

