Professional Documents
Culture Documents
Neural Net 2 - Final Version
Neural Net 2 - Final Version
Neural Net 2 - Final Version
U S
Week 1 to 3
BY MIKOKIT -[ F I L ]- SLIDE 1
Logistic Regression
-[ First page ]-
Loss and Cost
Content Functions
Forward &Backward
Propagation
Ways of doing
optimization
Activation
Functions
E aB nY g MS IoKv Oa Kn InT -[ F I L ]- SLIDE 2
-[ SLIDE TITLE HERE ]-
Logistic Regression
w1
x2 z = w1x1 + w2x2 + b 𝑎 = 𝜎 𝑧 = 𝑦ො
w2
w1
x2 z = w1x1 + w2x2 + b 𝑎 = 𝜎 𝑧 = 𝑦ො
w2
Vectorization
Ways of
Need a full
doing dimension size
optimization
Broadcasting
Duplicate to
the full
dimension size
Vectorization Broadcasting
+ +
𝑚, 𝑛 − 𝑚, 𝑛 ↝ (𝑚, 𝑛) 𝑚, 𝑛 − 1, 𝑛 ↝ (𝑚, 𝑛)
× ×
/ /
1 2 3 0 3 5 1 5 8
3 1 4 + 0 3 5 = 3 4 9
0 5 7 0 3 5 0 8 12
Broadcasting
1 2 3 1 5 8
3 1 4 + 0 3 5 = 3 4 9
0 5 7 0 8 12
z2 = w2a1 a2 = g2(z2)
w z1 = w1 x + a1 = g1(z1) ℒ a, y = ℒ yො , y
+ b2 = yො
b1
b
b
The end
BY MIKOKIT -[ F I L ]- SLIDE 14