The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
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
-
varunm1 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