<?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: Enterprise Miner Decision Tree results in only one node as opposed to an entire tree of results in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Enterprise-Miner-Decision-Tree-results-in-only-one-node-as/m-p/331731#M4980</link>
    <description>&lt;P&gt;No, its not a data issue and not what you're thinking. There isn't one variable that is predictive. In fact the output is just one node showing my target variable distribution. None of the input variables. This happens when I reduce the depth of the tree from 6 to 5 or 4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That one property change results in&amp;nbsp;no output. Can't figure out why when it worked yesterday. The&amp;nbsp;underlying data changes slightly. The same variables/features/target are used here too. Just the data itself changed and not that drastically.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2017 22:17:36 GMT</pubDate>
    <dc:creator>jmrg2300</dc:creator>
    <dc:date>2017-02-10T22:17:36Z</dc:date>
    <item>
      <title>Enterprise Miner Decision Tree results in only one node as opposed to an entire tree of results</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Enterprise-Miner-Decision-Tree-results-in-only-one-node-as/m-p/331714#M4978</link>
      <description>&lt;P&gt;I'm on SAS Enterprise Miner v 14.1. I have a fairly simple Decision tree model. The target is a binary variable (1,0) and I have about 380K observations. The data source is a SAS data set, and I have about 40 or so variables (Interval, Binary, Nominal).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The way enterprise miner is behaving is intermittent. Sometimes, I get a full blown decision tree and then when I make a small change to the Decision tree parameter (for. e.g change it from maximum depth of 6&amp;nbsp;to 4, I just a single node in the output. It basically does not produce any results what so over.&amp;nbsp;The same model worked great before, until I changed the underlying data and now it behaves erratically.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm attaching the properties of the Decision tree node. Most of them are the default.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone encounter this before? Know how to solve it?&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/13430iE1B42BD068B372C8/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Miner options for decision tree.png" title="Miner options for decision tree.png" /&gt;</description>
      <pubDate>Fri, 10 Feb 2017 21:47:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Enterprise-Miner-Decision-Tree-results-in-only-one-node-as/m-p/331714#M4978</guid>
      <dc:creator>jmrg2300</dc:creator>
      <dc:date>2017-02-10T21:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise Miner Decision Tree results in only one node as opposed to an entire tree of results</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Enterprise-Miner-Decision-Tree-results-in-only-one-node-as/m-p/331723#M4979</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/128515"&gt;@jmrg2300&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;The same model worked great before, until I changed the underlying data and now it behaves erratically.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;How does the data compare to before?&lt;/P&gt;
&lt;P&gt;When it does the one node, how predictive is it? Is that one variable correct? if only one variable is significant it's going to be highly predictive, which means it's possible that it may be a measurement error, or it's something that's only known after the fact. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wonder if your priors are severly skewed, ie how many 1 vs 0 do you have in your 380K observations?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 22:08:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Enterprise-Miner-Decision-Tree-results-in-only-one-node-as/m-p/331723#M4979</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-02-10T22:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise Miner Decision Tree results in only one node as opposed to an entire tree of results</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Enterprise-Miner-Decision-Tree-results-in-only-one-node-as/m-p/331731#M4980</link>
      <description>&lt;P&gt;No, its not a data issue and not what you're thinking. There isn't one variable that is predictive. In fact the output is just one node showing my target variable distribution. None of the input variables. This happens when I reduce the depth of the tree from 6 to 5 or 4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That one property change results in&amp;nbsp;no output. Can't figure out why when it worked yesterday. The&amp;nbsp;underlying data changes slightly. The same variables/features/target are used here too. Just the data itself changed and not that drastically.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 22:17:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Enterprise-Miner-Decision-Tree-results-in-only-one-node-as/m-p/331731#M4980</guid>
      <dc:creator>jmrg2300</dc:creator>
      <dc:date>2017-02-10T22:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise Miner Decision Tree results in only one node as opposed to an entire tree of results</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Enterprise-Miner-Decision-Tree-results-in-only-one-node-as/m-p/418558#M6412</link>
      <description>&lt;P&gt;Keep in mind that Tree models are 'unstable' in the sense that slight changes in the input data can result in very different looking trees since differences in one split can result in differences in all subsequent splits.&amp;nbsp; A tree with only one node is essentially the null model (all observations receive the same prediction) and can occur when you have weak predictors and/or when you have a rare event with no decision profile.&amp;nbsp; By default, SAS Enterprise Miner assigns observations to the most likely outcome.&amp;nbsp; If one group is far more likely than the other and you have not specified any additional weight to correctly choosing the rare event, you might end up with a one node model since no splitting results in a node with more events than non-events.&amp;nbsp; This is explained in SAS Note 47965 available at&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;A href="http://support.sas.com/kb/47/965.html" target="_self"&gt;http://support.sas.com/kb/47/965.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You have a few options:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;1 - choose an alternate setting for Assessment Measure such as Average Square Error or Lift (under the Subtree section of properties for the Decision Tree node)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;2 - build a target profile following the steps in Usage Note 47965 from the link above&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;3 - build the Tree interactively by clicking on the ... to the right of Interactive in the Decision Tree properties&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any of these approaches should give you a model, although you should consider using a Data Partition if you have sufficient data to avoid overfitting.&amp;nbsp;&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>Tue, 05 Dec 2017 18:23:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Enterprise-Miner-Decision-Tree-results-in-only-one-node-as/m-p/418558#M6412</guid>
      <dc:creator>DougWielenga</dc:creator>
      <dc:date>2017-12-05T18:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise Miner Decision Tree results in only one node as opposed to an entire tree of results</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Enterprise-Miner-Decision-Tree-results-in-only-one-node-as/m-p/420497#M6436</link>
      <description>&lt;P&gt;Have you also tried the HP Tree node? You lose some flexibility, such as the interactive decision tree, but it might also be something to explore.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2017 15:22:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Enterprise-Miner-Decision-Tree-results-in-only-one-node-as/m-p/420497#M6436</guid>
      <dc:creator>RalphAbbey</dc:creator>
      <dc:date>2017-12-12T15:22:11Z</dc:date>
    </item>
  </channel>
</rss>

