Machine Learning with Decision Trees and Random Forests

with Nikola Pulev

Guiding you through the fundamentals of decision trees and random forests. You will learn how the trees are constructed both theoretically and in practice using sklearn.

1 hour 20 lessons
Start course

Course Overview

Decision trees and random forests are tools that every data scientist or machine learning practitioner should be familiar with. Famous for producing good predictors, these methods are also indispensable when it comes to understanding the problem at hand, as well as visualizing and communicating your results. That’s why we have prepared this course for you. The first part features a thorough explanation of the workings of decision trees, how to code and visualize them with sklearn, and the pros and cons you should consider. Then we will build on the concept of a single decision tree to produce the random forest algorithm. Finally, we will cap it all off with a practical example implementing both decision trees and random forests in Python to predict a person’s income based on census data.

20 High Quality Lessons
1 Practical Tasks
1 Hour of Video
Certificate of Achievement

Topics covered

machine learningProgrammingPythonTheory

What You'll Learn

This practical course introduces you to the inner workings of decision trees and random forests. You will learn how a tree is constructed and how the concept of decision trees extends to random forests, as well as how these methods can be applied in several different practical examples.

Understand decision trees
Visualize and interpret the tree
Gini impurity and information gain
Extend decision trees to random forests


Student feedback


352 ratings
5 stars
292 (83%)
4 stars
50 (14%)
3 stars
6 (2%)
2 stars
3 (1%)
1 star
1 (0%)
Filter by rating
  • 5 stars
  • 4 stars
  • 3 stars
  • 2 stars
  • 1 stars
  • Newest
  • Oldest
Excellent. we need more courses like this. and we would want courses to help us know which ML algorithms would be best suited for a particular problem
The examples provided has given me the appreciation of machine learning in real-life projects that I am working on.
Not mathematically sound. Should have also included feature importance obtained from random forest
An excellent course on Decision Trees, Features, pros and cons, and their implementation
The lessons make understanding common! I enjoy taking the lessons very much!
  • 1
  • 2
  • 3
  • ...
  • 7
  • ...
  • 12

“The ability to interpret a model’s results is indispensable in Machine Learning. That’s where decision trees come into play. The decision tree model is relatively simple and easy to understand – both characteristics that make it a great foundation for ML enthusiasts to grasp and visualize basic concepts.”

Nikola Pulev
Silver medal at Physics Olympiad
Machine Learning with Decision Trees and Random Forests

with Nikola Pulev

Start Course