Build Decision Trees From Scratch
14 lessons5 topics6h 46mself-paced
About this course
Build classification and regression decision trees from scratch in Python and understand the model behind random forests and gradient boosting. Trees are the most readable models in machine learning, and once you have written one you can reason about any ensemble built on them.
What you will learn
- What a split has to decide and how Gini impurity measures it for categorical and numerical data
- Growing a full classification tree in code, then pruning it
- Regression trees from a single feature to many features
- How to explain trees clearly in an interview
What is included
- 14 focused lessons with about 7 hours of video, all code written live
- Complete lecture notes
- Interview preparation summary
- Course end test
Who it is for
Learners who know basic Python and want their first complete, from-scratch ML algorithm.
Course curriculum
5 topics • 14 lessons
6h 46mClassification trees6 items
- What is Gini Impurity?
- Let us start building a classification tree
- Gini Impurity for numerical data
- Finish building the classification tree
- Pruning classification trees
- Code an entire classification tree in Python
Regression trees5 items
- What are regression trees?
- Let's start building a regression tree
- Finish building the regression tree
- Regression trees with multiple features
- Code an entire regression tree in Python
Interview preparation1 items
- Interview prep: Summary of regression and classification trees
Lecture Notes2 items
- Vizuara Decision Trees Lecture Notes Video
- Link to lecture notes
Course End Test1 items
- Course End Testcourse end test



