Interactive NN
Getting Started
What is a Neural Network?
Perceptrons
Building on Perceptrons
Activation Functions
What is an Activation Function?
Step
Sigmoid
Tanh
ReLU
Perceptrons
Perceptron Structure
ML Playground
Calculus
Motivation
Derivatives
Derivatives of Activation Functions
Derivative Playground
Gradient Descent
Backpropagation
Backpropagation Playground
About
Toggle Sidebar
Gradient Descent
lab
Optimization Sandbox
Iter:
0
Loss L(θ):
2.2500
Reset
Loss Surface Projection: L(θ)
-1
1
-3
-2
-1
1
2
3
0
θ
L(θ)
Min L(θ): 0.000
dL/dθ
-η dL/dθ (Step)
θ
Update Rule
θ
n
e
x
t
=
θ
−
η
⋅
d
L
d
θ
\theta_{next} = \theta - \eta \cdot \frac{dL}{d\theta}
θ
n
e
x
t
=
θ
−
η
⋅
d
θ
d
L
−
1.50
−
0.10
⋅
−
3.00
-1.50 - 0.10 \cdot -3.00
−
1.50
−
0.10
⋅
−
3.00
-1.200
Gradient (Slope)
d
L
d
θ
=
L
′
(
θ
)
=
2
⋅
θ
\frac{dL}{d\theta} = L'(\theta) = 2 \cdot \theta
d
θ
d
L
=
L
′
(
θ
)
=
2
⋅
θ
L
′
(
−
1.50
)
L'(-1.50)
L
′
(
−
1.50
)
-3.0000
Loss Function
L
(
θ
)
=
θ
2
L(\theta) = \theta^{2}
L
(
θ
)
=
θ
2
L
(
−
1.50
)
L(-1.50)
L
(
−
1.50
)
2.250