June 2017
Beginner to intermediate
576 pages
15h 22m
English
Our original node always starts at the root of the tree. In the preceding diagram, the first node merely starts with a description of how the population breaks down by gender. In this case, females make up the majority class at 58% of the population. The goal in decision of tree algorithms is to always grow a tree and improve predictions. So, at this point, we want to do better than 58% prediction for gender.
As we grow the tree, two questions will always need to be taken into consideration: