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

Lesson 1: Can a program learn to sort tickets?

16 min read·13 Oct 2026
Module 3 · Lesson 1 · About 45 minutes · Needs: Module 1 (Python lists, dicts, functions); no model key needed

The situation

Every message that reaches BrightCart support is first read by a person who decides which team gets it: refund, shipping, warranty or other. Priya wants that minute back and asks whether a program could sort them.

Dev suggests a rule: if the message contains "refund", send it to refunds. The first ticket in the archive breaks it: "I was charged twice for one order." never uses the word. Machine learning goes the other way: show the program tickets that people have already sorted and let it find the patterns. This lesson is about what that means, and how it quietly goes wrong.

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.