Understanding decision trees

A decision tree is a simple yet powerful model for supervised learning problems. As the name suggests, we can think of it as a tree in which information flows along different branches—starting at the trunk and going all of the way to the individual leaves, making decisions about which branch to take at each junction. 

This is basically a decision tree! Here is a simple example of a decision tree:

A decision tree is made of a hierarchy of questions or tests about the data (also known as decision nodes) and their possible consequences.

One of the true difficulties with building decision trees is how to pull out ...

Get Machine Learning for OpenCV 4 - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.