CourseAI Engineering: The Complete Course · Module 3: Machine Learning Basics · part 23 of 105
Part 23 · Module 3: Machine Learning Basics

Lesson 2: Lines, trees and forests: the classic models

18 min read·13 Oct 2026
Module 3 · Lesson 2 · About 45 minutes · Needs: Lesson 1 (splits, overfitting, cross-validation)

The situation

Priya has handed over 40 tickets her agents labelled by hand: refund, shipping, warranty or other. Lesson 1 trained a classifier on them without saying what was inside. Dev asks: "What does it actually do with a ticket?" Marta adds: "If it sorts a message wrongly, can you tell me why?"

This lesson opens the box, tracing one ticket, "I was charged twice for one order.", through a line, a curve, a tree, a forest and three older classifiers.

The rest of this course is yours to keep

This course is bought on its own, once, and stays readable afterwards, including the parts added to it later.