AI in Motion

What Is Machine Learning?

Machine LearningBeginner1:226 chapters

Instead of writing rules, show the computer examples. The core idea of machine learning, its three main types and the standard workflow.

📄 Illustrated notes · every chapter as a picture · printable

Shortcuts: Space play/pause · ←/→ 5 s · N/P chapter · M voice · C subtitles · F fullscreen

Quick quiz

3 questions to check your understanding.

Q1 In supervised learning the training data includes…
Q2 Grouping customers into segments without labels is…
Q3 Why evaluate on unseen data?

Go deeper

University-level written lectures in The AI Lecture Hall:

Transcript

Introduction. Traditional programs follow rules that a programmer writes. Machine learning flips this around: we show the computer examples, and it works out the rules itself.

Rules vs examples. In traditional programming, you give the computer data and rules, and get answers. In machine learning, you give it data and the correct answers, and it produces the rules, which we call a model.

Types of learning. There are three main types. Supervised learning uses labelled examples. Unsupervised learning finds structure without labels. Reinforcement learning learns by trial and error, guided by rewards.

A first example. Here is supervised learning in action. Each dot is a student: hours studied and exam score. The model starts with a bad guess and adjusts itself until its line fits the data well. That adjusting process is called training.

Workflow. Real projects follow a workflow. Collect data. Prepare features. Train the model. Evaluate it on data it has never seen. Then deploy it and keep monitoring, because the world changes.

Recap. To recap. Machine learning learns rules from examples. There are three main types. Training adjusts the model to reduce its errors. And we always judge a model on data it has never seen.