Sharon
10 years agoMicrosoft Employee
Decision Trees
Description
With decision trees, you can visualize the probability of something you want to estimate, based on decision criteria from the historic data.
The decision tree classifier aut...
Elizabeth24
9 years agoNew Member
Hello Sharon,
I am having some troubles on trying to build a decision tree on power bi, I am quite new here so I think it should be something easy...
The error says : "The tree depth is zero"
Thanks in advance for your help,
- boefraty9 years agoMicrosoft Employee
Hi Elizabeth24,
Sometimes algorithm "decides" that adding branches to root of the tree is not useful.
For example, if you have 90% negatives 10% positives in your data. The accuracy of root node is 0.9 and adding branches may not improve it much.
You may try to disable cross validation.
You may try to make changes in data.
You may try to change some parameters, for example:
complexity = 1e-05 #change to 1e-10
minBucket = 2# change to 1
minRows = 10 # change to 5
maxNumAttempts = 10 #change to 50