CS230: Lecture 3: The Mathematics of Deep Learning
CS230: Lecture 3: The Mathematics of Deep Learning
Lecture 3
The mathematics of deep learning
Backpropagation, Initializations, Regularization
Kian Katanforoosh
I – Backpropagation
II – Initializations
III – Regularization
I - Backpropagation
Problem statement
A – Logistic Regression backpropagation for one training example
B – Logistic Regression backpropagation for a batch of m examples
Question: You have trained an animal classifier. Can you tell what part of
the input led to this prediction?
II - Initializations
Problem statement
In class, you’ve seen that:
The goal:
[%]
1
Let’s prove that: !"# " [%&']
= !"# " [%]
→ !"# + =
-[%&']
[%]
1
Let’s prove that: !"# " [%&']
= !"# " [%]
→ !"# + =
-[%&']
2 345
% %&'
Checkpoint: !"# "[%] = !"# . [%] = !"# / +',1 "1
16'
We’ve shown that for every layer l: !"# "[%] = -[%&'] !"# + [%] !"# "[%&']