Hi,
I am building a predictive model using a decision tree, the target is binary (5.8% of the population) and there are both numeric and nominal explanatory variables. Once i build the model using the automatic mode i find that the result is blank i.e there is only the root node. I then tried building an interactive decision tree and found that the model was not able to predict many leavers.
Has anybody come across a blank decision tree and does this imply something wrong with a setting/input data etc
Regards
Syed
There are many reasons why that could be happening. In theory, your explanatory variables might not have enough power to generte a split. I very much doubt that is the case. If you provide more details it might be easier for us to help. Usually this comes down to a combination of factors. For example, if your sample is too small, and you try to predict a rare event, and you also set a minimum leaf size too high, the tree might not be able to find a split that satisfies purity and minimum leaf size at the same time.
G
thanks so much for the response, you were absolutely right about the settings, once changed the tree began to blossom.....
Very much appreciated, saved me a lot of time
Syed
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.
Find more tutorials on the SAS Users YouTube channel.