BookmarkSubscribeRSS Feed
_MVB_
Obsidian | Level 7

Hi everyone - hope you can help with a quick solution.

I looked through existing topics, and found relevant, but when trying to apply it in Miner, still have an issue to produce a decision tree.

 

here is what i try to do:

I have a dataset with binary target variable (default indicator: 1 or 0) and an interval (numeric) variable 'time on books' that goes from 0, 1, 2 ... up to ~300 and represents months on books.

 

In Miner, I want to build a simple decision tree that have a maximum depth: 1, and maximum branch: 3 - so just splitting 'time on books' into 3 nodes.

 

the issue is:

Once i set up constraints, such as branch, depth, node leaf size, etc..., and once "Run" decision tree i do not have any split for the "Input" variable, but only keeping a "root node" with information on how many are in 0 and 1 groups.

I tried "Interactive Binning" and "Transform Variables" to have this input variable either binned or transformed, but not luck.

_MVB__0-1611859065831.png

 

If anyone had same issue, i must have doing something wrong in the setup, because i can create simple decision trees for other variable i have, but struggling with "time on books" and another character nominal variable.

 

Any help highly appreciated!

1 REPLY 1

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—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
  • 1 reply
  • 1091 views
  • 0 likes
  • 2 in conversation