🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Decision tree

User: "fatimidveil"
New Altair Community Member
Updated by Jocelyn
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 ? 


Find more posts tagged with

Sort by:
1 - 5 of 51
    User: "varunm1"
    New Altair Community Member
    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.
    User: "fatimidveil"
    New Altair Community Member
    OP
    User: "fatimidveil"
    New Altair Community Member
    OP
    this is my tree ,why the mother _qualification attritube come twice in my tree ? i 
    User: "varunm1"
    New Altair Community Member
    Accepted Answer
    Updated by varunm1
    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.
       
    User: "fatimidveil"
    New Altair Community Member
    OP
    Oka thankyou so much for your help sir