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 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 979 views
  • 0 likes
  • 1 in conversation