Week 8 ยท 45-60 min

Decision Trees

Week Summary

A quick preview of the main ideas in this week before you begin the slides.

  • What Is a Decision Tree?
  • How Decision Trees Make Decisions
  • Building a Decision Tree in scikit-learn
  • Visualizing a Decision Tree

Glossary

Review these key terms before starting this week. They are kept simple so students can learn the new vocabulary before moving into the slides.

What Is a Decision Tree?
What Is a Decision Tree?
How Decision Trees Make Decisions
How Decision Trees Make Decisions
Building a Decision Tree in scikit-learn
Building a Decision Tree in scikit-learn
Slide 1๐Ÿ’ก

What Is a Decision Tree?

Learning goal

Understand decision trees as an intuitive ML model.

Read one card at a time. Focus on the main idea first, then look at the visual on the right to help it stick.

A decision tree uses a sequence of yes or no questions.

It is structured like a flowchart with branches.

It can be used for classification or regression.

It is often easier to explain than many other models.

This makes it appealing for beginner-friendly interpretability.

Remember

Decision trees are appealing because their reasoning can often be visualized directly.

What Is a Decision Tree?

What Is a Decision Tree?

Slide 1 of 8

Use arrows or dots to move through the lesson

Practice

  1. Write 2-3 sentences about what you learned this week.

Coming Next Week: Next: Model Evaluation