#16 Machine Learning Engineering for Production (MLOps) Specialization [Course 1, Week 2, Lesson 8]

21 Apr 2022 · 12 min
12:13

Andrew Ng explains why accuracy fails for imbalanced datasets, like a wake-word detector that's 96.7% negative examples. He introduces precision, recall, and the F1 score (harmonic mean of both) to evaluate rare events, then shows how factories prioritize recall to catch defects they can't afford to miss.

Questions this video answers

True negatives=905, False positives=9, True positives=68, False negatives=18 (total 1,000).

Precision = 68 / (68+9) ≈ 88.3%; Recall = 68 / (68+18) ≈ 79.1%.

F1 ≈ 83.4% (harmonic mean of the reported precision and recall).

96.7% negative examples and 3.3% positive examples.

An example stating 99.7% of phones have no defect (y=0) and a small fraction are y=1 (defective).

Chapters

More from LARRUZ

8:49
youtube.com

OpenAI’s New AI Is Doing Things We Barely Understand

2d ago
5:38
youtube.com

DeepSeek Solved AI’s Memory Problem

4d ago
33:17
youtube.com

DeepMind's New AI Just Cracked The Code Of Life

1w ago
3:43
youtube.com

The Billion Dollar AI Advantage Is Disappearing

1w ago
5:14
youtube.com

Claude Opus 5.5 AI: An Incredible Leap Forward

3w ago
5:16
youtube.com

Yes, Jev Is Insane, But There's A Catch

3w ago
5:11
youtube.com

DeepSeek’s Insane New Architecture

3w ago
4:16
youtube.com

Claude Is Now Leaving Invisible Fingerprints In Its Text

1mo ago
9:18
youtube.com

I Never Thought I’d See This Happen

1mo ago
5:22
youtube.com

GPT-6 Astra Changes Everything

1mo ago
4:55
youtube.com

Claude Fable AI Is Much Stranger Than The Headlines Suggest

1mo ago
See all content