| sgld | R Documentation |
Stochastic Gradient Langevin Dynamics (SGLD) optimization
sgld(stepsize = 0.001, temperature = 1)
stepsize |
base stepsize |
temperature |
non-negative Langevin temperature |
SGLD adds Gaussian noise to vanilla SGD updates:
x_{t+1} = x_t - \eta_t \nabla U(x_t) + \sqrt{2 T \eta_t}\,\xi_t, \quad \xi_t \sim \mathcal{N}(0, I)
where T is temperature. The implementation applies this
component-wise using the current effective stepsize.
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.