Skip to Content
Python: Advanced Predictive Analytics
book

Python: Advanced Predictive Analytics

by Ashish Kumar, Joseph Babcock
December 2017
Beginner to intermediate
660 pages
15h 31m
English
Packt Publishing
Content preview from Python: Advanced Predictive Analytics

Summary

In this chapter on the decision trees, we first tried to understand the structure and the meaning of a decision tree. This was followed by a discussion on the mathematics behind creating a decision tree. Apart from implementing a decision tree in Python, the chapter also discussed the mathematics of related algorithms such as regression trees and random forests. Here is a brief summary of the chapter:

  • A decision tree is a classification algorithm used when the predictor variables are either categorical or continuous numerical variables.
  • Splitting a node into subnodes so that one gets a more homogeneous distribution (similar observations together), is the primary goal while making a tree.
  • There are various methods to decide which variable ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Predictive Analytics with Python

Mastering Predictive Analytics with Python

Joseph Babcock

Publisher Resources

ISBN: 9781788992367Supplemental Content