<?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 many leaves and nodes should a tree in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/How-many-leaves-and-nodes-should-a-tree/m-p/316563#M4759</link>
    <description>If possible, could you point me to the paper? Thanks.  &lt;BR /&gt;Jason Xin</description>
    <pubDate>Sun, 04 Dec 2016 14:48:56 GMT</pubDate>
    <dc:creator>JasonXin</dc:creator>
    <dc:date>2016-12-04T14:48:56Z</dc:date>
    <item>
      <title>How many leaves and nodes should a tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-many-leaves-and-nodes-should-a-tree/m-p/312417#M4692</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How many leaves and nodes should a tree have in my model decision tree??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What would be the best of leaves&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank.&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2016 18:22:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-many-leaves-and-nodes-should-a-tree/m-p/312417#M4692</guid>
      <dc:creator>maculdes</dc:creator>
      <dc:date>2016-11-17T18:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: How many leaves and nodes should a tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-many-leaves-and-nodes-should-a-tree/m-p/312419#M4693</link>
      <description>&lt;P&gt;This is a tough question to answer. In reality, there is no best answer. A good place to start is Wikipedia. From &lt;A href="https://en.wikipedia.org/wiki/Decision_tree#Association_rule_induction" target="_self"&gt;the article on decision trees&lt;/A&gt;: "An optimal decision tree is then defined as a tree that accounts for most of the data, while minimizing the number of levels (or 'questions')." The section entitled&amp;nbsp;&lt;A href="https://en.wikipedia.org/wiki/Decision_tree#Association_rule_induction" target="_self"&gt;Association rule induction&lt;/A&gt; links to two references to learn more about this, and about algorithms to determine the best decision tree for your data.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2016 18:37:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-many-leaves-and-nodes-should-a-tree/m-p/312419#M4693</guid>
      <dc:creator>paulkaefer</dc:creator>
      <dc:date>2016-11-17T18:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: How many leaves and nodes should a tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-many-leaves-and-nodes-should-a-tree/m-p/312806#M4702</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are using SAS software like Enterprise Miner or HPSLIT, default settings on these parameters, more often than not, serve you a fairly good baseline deccision tree model.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the case of Enterprise Miner where you can do what we call interactive tree, you can inject any variable based rules to stop, expand or prune a tree. You can also combine this kind of &amp;nbsp;'manual' tree with machine built trees. Machine trees are trees most predictive modelers mean when they talk about decision tree modeling. I believe your question is &amp;nbsp;about machine-built tree (DT).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best this, best that, the key is one word: validation. Where to stop, how many trees, how many variables to try (in other words, if you have 500K variables, it is not good idea to pump them all in at once to the tree engine), pruning guidance, surrogates... should all be decided on hold-out samples. As for deciding criteria (which I believe is what you are asking, literally), cost-complexity, balance between training and validation, outweighs so-called accuracy. Best practice typically involves rounds of rounds of tweaking.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the latest and the great SAS Viya ML suite, you have access to a facility called Auto Tuning that allows you to set ranges on (hyper) parameters, like those mentioned in your question, and let Viya tell which are the optimal combination. The search routine goes beyond brute force nature of grid search (Latin Hypercube, anyone). It is directly and immediately scalabe for the modeler to run it against huge data set in-memory.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So what is the best of this and that? Go to work. Decision tree is unlike many other methods and algorithms. In many cases, the best is when you see it, like gardening. &amp;nbsp;Because there is a visual tree for you to see.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this &amp;nbsp;helps?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Jason Xin&lt;/P&gt;</description>
      <pubDate>Sat, 19 Nov 2016 15:51:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-many-leaves-and-nodes-should-a-tree/m-p/312806#M4702</guid>
      <dc:creator>JasonXin</dc:creator>
      <dc:date>2016-11-19T15:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: How many leaves and nodes should a tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-many-leaves-and-nodes-should-a-tree/m-p/316446#M4753</link>
      <description>&lt;P&gt;thanks for your help.&lt;BR /&gt;But I have seen on the web that they do an interactive configuration, but they do not show the steps to follow.&lt;BR /&gt;How could I do it?&lt;BR /&gt;I attached the image of what I want to do.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13219iC9972E039452A5D8/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="tree.jpg" title="tree.jpg" /&gt;</description>
      <pubDate>Sat, 03 Dec 2016 00:03:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-many-leaves-and-nodes-should-a-tree/m-p/316446#M4753</guid>
      <dc:creator>maculdes</dc:creator>
      <dc:date>2016-12-03T00:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: How many leaves and nodes should a tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-many-leaves-and-nodes-should-a-tree/m-p/316517#M4756</link>
      <description>Hi, If you don't see the button to the right to click, open and configure, the chance is the image belongs to a different version of EM. Thanks. Jason Xin</description>
      <pubDate>Sat, 03 Dec 2016 20:54:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-many-leaves-and-nodes-should-a-tree/m-p/316517#M4756</guid>
      <dc:creator>JasonXin</dc:creator>
      <dc:date>2016-12-03T20:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: How many leaves and nodes should a tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-many-leaves-and-nodes-should-a-tree/m-p/316524#M4757</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;the version of tha imagen is the march 2014.&amp;nbsp;&lt;SPAN&gt;It's what I see in the papper. but in my PC the version es sas miner 13.1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and not see.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But I do not see or know how to configure the parameters.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thank&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Dec 2016 00:27:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-many-leaves-and-nodes-should-a-tree/m-p/316524#M4757</guid>
      <dc:creator>maculdes</dc:creator>
      <dc:date>2016-12-04T00:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: How many leaves and nodes should a tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-many-leaves-and-nodes-should-a-tree/m-p/316563#M4759</link>
      <description>If possible, could you point me to the paper? Thanks.  &lt;BR /&gt;Jason Xin</description>
      <pubDate>Sun, 04 Dec 2016 14:48:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-many-leaves-and-nodes-should-a-tree/m-p/316563#M4759</guid>
      <dc:creator>JasonXin</dc:creator>
      <dc:date>2016-12-04T14:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: How many leaves and nodes should a tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-many-leaves-and-nodes-should-a-tree/m-p/316603#M4760</link>
      <description>&lt;P&gt;Hey--if you haven't, check out the Getting Started with EM series.&lt;/P&gt;
&lt;P&gt;In this one Chip Robie talks about decision trees and you will see a brief screensots of the Interactive Decision trees, starting at 9:15.&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;
&lt;P&gt;-Miguel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://youtu.be/IlUZYlgkeSc?t=9m15s" target="_blank"&gt;https://youtu.be/IlUZYlgkeSc?t=9m15s&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 05:34:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-many-leaves-and-nodes-should-a-tree/m-p/316603#M4760</guid>
      <dc:creator>M_Maldonado</dc:creator>
      <dc:date>2016-12-05T05:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: How many leaves and nodes should a tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-many-leaves-and-nodes-should-a-tree/m-p/316667#M4764</link>
      <description>&lt;P&gt;Hello Jason,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is a &amp;nbsp;paper&amp;nbsp;&lt;A href="http://digital.bl.fcen.uba.ar/Download/Tesis/Tesis_5612_Padua.pdf" target="_blank"&gt;http://digital.bl.fcen.uba.ar/Download/Tesis/Tesis_5612_Padua.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;view page number 56 and 57.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to modify my tree as shown in the figure on page 57. You can put intervals in the parameters&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thank !!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 12:10:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-many-leaves-and-nodes-should-a-tree/m-p/316667#M4764</guid>
      <dc:creator>maculdes</dc:creator>
      <dc:date>2016-12-05T12:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: How many leaves and nodes should a tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-many-leaves-and-nodes-should-a-tree/m-p/316668#M4765</link>
      <description>Thank Miguel!!</description>
      <pubDate>Mon, 05 Dec 2016 12:11:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-many-leaves-and-nodes-should-a-tree/m-p/316668#M4765</guid>
      <dc:creator>maculdes</dc:creator>
      <dc:date>2016-12-05T12:11:53Z</dc:date>
    </item>
  </channel>
</rss>

