BookmarkSubscribeRSS Feed
Scott86
Obsidian | Level 7

Hi Everyone,

 

I am creating a decision tree and I want it to be only 3 nodes deep. I am controlling the splitting by using the leaf size under the Node area for Decision tree models, I am setting it to 200 (that is a minimum of 200 obs per leaf). The issue is the target I am splitting up which is binary (1 and 2) has a low volume. The target 2 only account for 0.44% of the observations. This is creating difficulty in the tree splitting. When I set the leaf size to 200 it goes to deep but when I increase it the tree does not split at all. I have tried changing the Significance level but it has no affect.

 

Nominal target Criterion is ProbChisq and significance level is 0.2.

 

Any help on how to tune the Hyper-Parameters to prune the model would be great.

 

Thanks

Scott

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to choose a machine learning algorithm

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.

Discussion stats
  • 0 replies
  • 782 views
  • 0 likes
  • 1 in conversation