Options
Decision tree
fatimidveil
Member Posts: 45 Contributor II
in Help
Hi , i use id3 cart and c4.5 on my data .
My decision tree seem confusion .
I have a class with "public "and "private " attritube but my most of the leave only have "public" attritube as leave node ..
Is that okay ?
My decision tree seem confusion .
I have a class with "public "and "private " attritube but my most of the leave only have "public" attritube as leave node ..
Is that okay ?
1
Best Answer
-
Optionsvarunm1 Moderator, Member Posts: 1,207 UnicornHello @fatimidveil
That seems fine. They can come twice or many times depending on the rule identified by a decision tree algorithm.
In the first case: the condition is
if (RTM == Yes --> College Maintenace == No --> Matric == Private -->Mother_Qualification)
The second condition is
if (RYM == Yes, College Maintenance == No --> Matric = Public --> Teacher Response == Some time --> Mother_ualification)
You can see two branches are different and they are mainly changing based on the vale of "Matric" (Private or Public).attribute.
This is normal.
Regards,
Varun
https://www.varunmandalapu.com/Be Safe. Follow precautions and Maintain Social Distancing
7
Answers
Yes, it is fine. Seems like your public attribute has many combinations that can be used for classification.
If you have more questions please provide an image of your tree.
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing