Gradient Descent lab

Optimization Sandbox

Iter: 0
Loss L(θ): 2.2500
Loss Surface Projection: L(θ)
-11-3-2-11230θL(θ)Min L(θ): 0.000dL/dθ-η dL/dθ (Step)θ

Update Rule

θnext=θ−η⋅dLdθ\theta_{next} = \theta - \eta \cdot \frac{dL}{d\theta}
−1.50−0.10⋅−3.00-1.50 - 0.10 \cdot -3.00
-1.200

Gradient (Slope)

dLdθ=L′(θ)=2⋅θ\frac{dL}{d\theta} = L'(\theta) = 2 \cdot \theta
L′(−1.50)L'(-1.50)
-3.0000

Loss Function

L(θ)=θ2L(\theta) = \theta^{2}
L(−1.50)L(-1.50)
2.250