<?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: Decision Tree in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/352994#M5238</link>
    <description>&lt;P&gt;&lt;SPAN class=""&gt;Hello Debbielu,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I did this, I put&amp;nbsp;&lt;FONT color="#FF0000"&gt;%let EM_INTERACTIVE_TREE_MAXOBS= 10000000;&lt;/FONT&gt; in the code, but it didn't work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; I don't know what to do. Could you please explain me step by step telling what I have to do.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Apr 2017 19:41:52 GMT</pubDate>
    <dc:creator>CamillaGua</dc:creator>
    <dc:date>2017-04-24T19:41:52Z</dc:date>
    <item>
      <title>Decision Tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63465#M378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to build interactive Decision Tree using SAS EM 6.2. The tree takes only 20,000 records for building the tree while my dataset contains over 100,000 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please suggest how can I make the tree take my complete records in consideration to build the tree? I am stuck at this point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nikhil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2011 15:46:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63465#M378</guid>
      <dc:creator>Nikhil</dc:creator>
      <dc:date>2011-09-12T15:46:43Z</dc:date>
    </item>
    <item>
      <title>Decision Tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63466#M379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could it simply be that you or the algorithm selected a particular size for a training model?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2011 16:35:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63466#M379</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-09-12T16:35:55Z</dc:date>
    </item>
    <item>
      <title>Decision Tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63467#M380</link>
      <description>&lt;P&gt;Some users may wish to override default Enterprise Miner interactive decision tree sampling strategies. Enterprise Miner provides two macros that you can issue with your project startup code that will modify interactive decision tree input data sampling behaviors:&lt;/P&gt;
&lt;P&gt;&lt;A name="p19pw9kub55y3bn19wc13g2txyr4" target="_blank"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;PRE&gt;%let EM_INTERACTIVE_TREE_MAXOBS= &amp;lt;max-number-of-observations-in-sample&amp;gt;;&lt;BR /&gt;%let EM_INTERACTIVE_TREE_SAMPLEMETHOD=&amp;lt;RANDOM | FIRSTN&amp;gt;;&lt;/PRE&gt;
&lt;P&gt;The first macro specifies the maximum number of observations that can exist in an Interactive Decision Tree node sample. You use this macro if you want to manually control the sample size. Otherwise, Enterprise Miner will use its own algorithms to perform sampling for your interactive decision tree.&lt;/P&gt;
&lt;P&gt;The second macro specifies the sampling methodology that will be used to create an Interactive Decision Tree node sample. You can use this macro if you want to manually control the methodology Enterprise Miner uses to create interactive decision tree samples. By default, Enterprise Miner uses random sampling for interactive decision trees. You can use the macro to choose between RANDOM and FIRSTN sample creation. You use the EM_INTERACTIVE_TREE_MAXOBS macro to specify the number of observations for both RANDOM and FIRSTN sampling strategies.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 17:55:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63467#M380</guid>
      <dc:creator>WayneThompson</dc:creator>
      <dc:date>2017-07-07T17:55:13Z</dc:date>
    </item>
    <item>
      <title>Decision Tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63468#M381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Wayne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help. But I am new to EM. Request you to please guide me how can I update the project startup code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nikhil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 07:18:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63468#M381</guid>
      <dc:creator>Nikhil</dc:creator>
      <dc:date>2011-09-13T07:18:28Z</dc:date>
    </item>
    <item>
      <title>Decision Tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63469#M382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Wayne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot. I figured out how to update startup code. I need one more help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the interactive decision tree Prediction value is shown as 0. How can I change it to prediction = 1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nikhil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 08:18:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63469#M382</guid>
      <dc:creator>Nikhil</dc:creator>
      <dc:date>2011-09-13T08:18:21Z</dc:date>
    </item>
    <item>
      <title>Decision Tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63470#M383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Nikhil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My fault but I probably and not understanding the question well.&lt;/P&gt;&lt;P&gt;When you run similar startup code for the project:&lt;/P&gt;&lt;P&gt;%let EM_INTERACTIVE_TREE_MAXOBS=100000;&lt;/P&gt;&lt;P&gt;%let EM_INTERACTIVE_TREE_SAMPLEMETHOD=RANDOM;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you are modeling a binary response, do you have 1's and 0's&amp;nbsp; distributed in the root node?&lt;/P&gt;&lt;P&gt;Is your target variable indeed a binary target and set to the binary variable role in the input node or is it set as interval?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 18:36:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63470#M383</guid>
      <dc:creator>WayneThompson</dc:creator>
      <dc:date>2011-09-13T18:36:11Z</dc:date>
    </item>
    <item>
      <title>Decision Tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63471#M384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sorry Wayne. I should have been more clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The whole picture is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have got a project to build a logistic regression model (Binary Response). So, my target variable is binary and explanatory variables are interval as well as binary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the problem is I want to build a decision tree to get an idea which set of variables can I use to build some new variables to include in the predictive model. So, my root node is distributed as binary and my input nodes are binary as well as interval. But when I am building the tree it is showing prediction = 0 as the target. I want it to change to prediction = 1. So, need your help on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nikhil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 04:50:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63471#M384</guid>
      <dc:creator>Nikhil</dc:creator>
      <dc:date>2011-09-14T04:50:38Z</dc:date>
    </item>
    <item>
      <title>Decision Tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63472#M385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I also mentioned the order as descending for my target variable where I define the role of each variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 04:56:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63472#M385</guid>
      <dc:creator>Nikhil</dc:creator>
      <dc:date>2011-09-14T04:56:55Z</dc:date>
    </item>
    <item>
      <title>Decision Tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63473#M386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Prediction=0 in the table refers to the prediction for the selected node. Assuming you are strating with the root node and&amp;nbsp; and&amp;nbsp; you have more 0s than 1s then the prediction classification for the root node is =0.&amp;nbsp;&amp;nbsp; When you split on the root node and continue growing the tree interactivelhy hopefully you are resulting in some nodes (leaves) with prediciton = 1.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In some cases when you have a rare target event (1s) and little if any signal in the data the null root node can result in being the final classification. In this case trying using the inverse priors options under "Decisions" for the Input Data Source node.&amp;nbsp;&amp;nbsp;&amp;nbsp; Or obtain add some additonal predictors if you avaialble.&amp;nbsp; Anyway I could still be of base with your question. Hope this helps. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 14:45:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63473#M386</guid>
      <dc:creator>WayneThompson</dc:creator>
      <dc:date>2011-09-14T14:45:17Z</dc:date>
    </item>
    <item>
      <title>Decision Tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63474#M387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for the input Wayne. It helped me a lot. I will touch base with you in case of any futher help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nikhil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 15:08:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63474#M387</guid>
      <dc:creator>Nikhil</dc:creator>
      <dc:date>2011-09-14T15:08:21Z</dc:date>
    </item>
    <item>
      <title>Decision Tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63475#M388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have come across a situation where I need to use cluster analysis in SAS EM 6.2. I have run the clster analysis on the dataset but am unable interpret the output. Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 13:41:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63475#M388</guid>
      <dc:creator>Nikhil</dc:creator>
      <dc:date>2011-09-29T13:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Decision Tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63476#M389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikhil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to EM too....How did you update the project startup code?&lt;/P&gt;&lt;P&gt;I want to run the classification tree onmy entire data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Geetika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 10:05:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63476#M389</guid>
      <dc:creator>geetsharma</dc:creator>
      <dc:date>2012-10-30T10:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Decision Tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63477#M390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri','sans-serif'; font-size: 12pt;"&gt; &lt;SPAN lang="EN-US" style="font-family: 'Calibri','sans-serif'; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Answer from SAS:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/47/220.html"&gt;http://support.sas.com/kb/47/220.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt; &lt;IMG alt="clip_image002.jpg" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/3601_clip_image002.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Debbie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 07:11:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/63477#M390</guid>
      <dc:creator>Debbielu</dc:creator>
      <dc:date>2013-05-28T07:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Decision Tree</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/352994#M5238</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Hello Debbielu,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I did this, I put&amp;nbsp;&lt;FONT color="#FF0000"&gt;%let EM_INTERACTIVE_TREE_MAXOBS= 10000000;&lt;/FONT&gt; in the code, but it didn't work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; I don't know what to do. Could you please explain me step by step telling what I have to do.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 19:41:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Decision-Tree/m-p/352994#M5238</guid>
      <dc:creator>CamillaGua</dc:creator>
      <dc:date>2017-04-24T19:41:52Z</dc:date>
    </item>
  </channel>
</rss>

