Optimization
Make the derivative, state, update, and recorded history explicit.
1 / 6
Make the derivative, state, update, and recorded history explicit.
For f=(x-3)^2, x=0, lr=0.25:
For f=x^2: x_next=(1-2*lr)*x.
v_next=momentumv+gradient; x_next=x-lrv_next.
X=[[0],[2]], y=[1,5], zero parameters: