Building Your Own Prediction Models
Chapter 1
[ 12 ]
Let us now dive deep into decision tree by knowing more
about decision tree learning
process. Considering the same titanic dataset we used earlier, we
will find the best attribute
to split on according to information gain, which is also known as
entropy
:
Information gain is highest only when the outcome is more predictable
after knowing the
value in a certain column. In other words, if we know
whether the passenger is
Do'stlaringiz bilan baham: