October 2017
Beginner to intermediate
572 pages
26h 1m
English
In previous recipes, we built a complex decision tree for the churn dataset. However, sometimes we have to remove sections that are not powerful in classifying instances to avoid over-fitting and to improve prediction accuracy. Therefore, in this recipe, we introduce the cost complexity pruning method to prune the classification tree.
Read now
Unlock full access