From the course: Machine Learning with Python: Decision Trees

Making decisions with Python - Python Tutorial

From the course: Machine Learning with Python: Decision Trees

Making decisions with Python

- [Fred] Decision trees are one of the most popular and easy to use approaches in supervised machine learning. So how does a decision tree get built? When should I use one? Can they get too large and complicated? If so, how do I make them more concise? Hi, I'm Fred Nwanganga, I'm a data scientist, teacher, and author with a passion for AI and machine learning. In this course, I introduce what a decision tree is. I explain the mechanics of how decision trees are pruned. I discuss when decision trees are most useful, and when they are not. Finally, I walk through the process of building, visualizing, and optimizing a classification tree, as well as a regression tree in Python, let's get started.

Contents