Lesson 12 AI & ML Foundations
Theme:
Lesson 12 · Slide 1

Lesson 12 — AI & ML Foundations

The world before LLMs — what machine learning is, what models do, training vs inference.

IT Landscape Module 4

Lesson 12 · Slide 2

The words “AI” and “ML”

“AI is the dream. ML is the technique that’s actually working.”

Lesson 12 · Slide 3

Programming vs learning

Programming

A human writes the rules, step by step.

“If temperature > 30, send alert.”

Machine learning

A human gives the machine thousands of past examples (temperature + did-something-bad-happen). The machine works out the rule itself.

ML shines where rules are too complex for humans to write.

Lesson 12 · Slide 4

What is a “model”?

“A model is a math function shaped by data.”

Lesson 12 · Slide 5

Training vs inference — the two phases

Training

Slow, expensive, done once (or periodically).

The model sees millions of labelled examples and adjusts its parameters until it predicts well.

Inference

Fast, cheap, done every time a user asks.

The trained model takes new input and produces output.

“Training is months of GPU bills; inference is milliseconds per request.”

Lesson 12 · Slide 6

Supervised, unsupervised, reinforcement

Lesson 12 · Slide 7

The classical ML toolkit

Techniques that ran the field for ~30 years — and still ship today:

In 2026, the boring tabular-data winner is still gradient-boosted trees, not deep learning.

Lesson 12 · Slide 8

Neural networks — what they actually are

Lesson 12 · Slide 9

Why deep learning took off (~2012)

Three things had to line up:

Once they did, deep learning crushed classical techniques on images, then speech, then language.

Lesson 12 · Slide 10

Frameworks people use (as of 2026)

FrameworkOwnerWhere it fits
PyTorchMetaResearch + production winner
TensorFlow / KerasGoogleStill huge, especially in industry
JAXGoogleResearch darling
scikit-learnCommunityThe classical-ML standard
Hugging Face TransformersHugging FaceThe LLM bridge

Most ML engineers use 2 or 3 of these daily.

Lesson 12 · Slide 11

Where ML actually ships (none of these are LLMs)

The world has been “running on ML” for a decade.

Lesson 12 · Slide 12

Recap

Coming up: Lesson 13 — what changed in 2022 when LLMs arrived, and where agents are taking us next.
1 / ?