| adaptive_gd | R Documentation |
Adaptive gradient descent optimizer.
adaptive_gd(stepsize = 0.01)
stepsize |
initial stepsize for SGD |
Based on the method described in https://arxiv.org/pdf/1910.09529. The update rule for adaptive gradient descent is:
\lambda_k = \min(\sqrt{1 + \theta_{k-1}} \lambda_{k-1}, \frac{||x_k - x_{k-1}||}{2 ||\nabla f(x_k) - \nabla f(x_{k-1})||} )
x_{k+1} = x_k - \lambda_k \nabla f(x_k)
\theta_k = \lambda_k / \lambda_{k-1}
a list of control variables for optimization
(used in control_opt function)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.