epochs

Learn · Module 02 · Classical machine learning · Lesson 4 of 8

Decision trees

A decision tree is a game of twenty questions that learns which question to ask first.

3 minute read

In short
  • A decision tree predicts with a chain of yes or no questions.
  • Each split is chosen to reduce impurity the most, often measured with Gini impurity.
  • Deep trees overfit, so depth is limited or many trees are combined.

This lesson is part of Pro

The first two lessons of every module are free. Pro opens every lesson and every project.

See Pro plansFrom ₹119 a month. No auto-renewal.