question about one of the tutorials

wclaster
wclaster New Altair Community Member
edited November 5 in Community Q&A
In the first tutorial, called "Getting Started". In section 4/5, after building the simplest of decision trees on the Titanic Training data set, after performing the process, in the tutorial it says
       "Great job! Your process should now be complete and deliver a decision tree model, which explains to you what most of the survivors and most of the victims had in common."     

Actually, I don't see exactly what they are referring to. Just from looking at that tree (see attachment), what do they mean by
what the survivors (or victims) have in common?
I don't exactly know how the are reading the tree to say that. Apparently it is obvious since they did not explain it but I don't follow. THANK YOU.

Best Answers

  • MartinLiebig
    MartinLiebig
    Altair Employee
    Answer ✓
    i think we had a change of a default parameter. If you set min_gain to 0.1 instead of 0.01 you should get a smaller tree which is easier to understand.
    Best,
    Martin
  • MartinLiebig
    MartinLiebig
    Altair Employee
    Answer ✓
    Hi,
    I don't know the resulting tree. But your interpretation sounds reasonable. Be sure that each level is an additional AND.
    Best,
    Martin

Answers

  • MartinLiebig
    MartinLiebig
    Altair Employee
    Answer ✓
    i think we had a change of a default parameter. If you set min_gain to 0.1 instead of 0.01 you should get a smaller tree which is easier to understand.
    Best,
    Martin
  • wclaster
    wclaster New Altair Community Member
    Thank you! That definitely helps. 
    In this case, would you say part of the answer would be something like

    (Low number of parents, children, siblings, spouses) AND high passenger fare, implies survive?
    There is actually another yes leaf which has more data which I guess could be described as
    Passenger fare high AND (parents, children)<3.5 AND (siblings,spouses)<2.5 , implies survive.

    Thanks again!

  • MartinLiebig
    MartinLiebig
    Altair Employee
    Answer ✓
    Hi,
    I don't know the resulting tree. But your interpretation sounds reasonable. Be sure that each level is an additional AND.
    Best,
    Martin