Understanding Dropout (C2W1L07)

25 Aug 2017 · 7 min
7:04

This lecture segment (Andrew Ng) explains dropout as a regularizer: randomly removing units forces remaining units to spread weights across inputs, shrinking weight norms and acting similarly to (an adaptive) L2 regularization. The video discusses choosing per-layer keep-prob (keep prop) values (examples: 0.5, 0.7, 1.0), shows a toy network (3 inputs, hidden layers with sizes 7,3,2,1) and corresponding weight-matrix dimensions (W1: 3x7, W2: 7x7, W3: 7x3). Practical notes: dropout is common in computer vision, can be applied to input layer (rarely), increases hyperparameter tuning burden, and complicates debugging because the cost J is no longer stable per iteration.

Questions this video answers

3 input features with hidden-layer sizes 7, 3, 2, 1 (interpreted as layers: input -> 7 -> 3 -> 2 -> 1).

W1: 3 by 7; W2: 7 by 7; W3: 7 by 3.

Examples mentioned: 0.5 (for a layer with many parameters), 0.7 (for layers worried less about overfitting), and 1.0 (no dropout for that layer).

Chapters

More from LARRUZ

8:49
youtube.com

OpenAI’s New AI Is Doing Things We Barely Understand

4d ago
5:38
youtube.com

DeepSeek Solved AI’s Memory Problem

5d 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

4w 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