Decision tree
fatimidveil
New Altair Community Member
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 ?
Tagged:
1
Best Answer
-
Hello @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.
2
Answers
-
Hello @fatimidveil
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.
1 -
1
-
this is my tree ,why the mother _qualification attritube come twice in my tree ? i1
-
Hello @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.
2 -
Oka thankyou so much for your help sir1