Description Usage Arguments Value Examples
Creates a stochastic gradient descent with momentum optimiser.
1 | sgdwm.opt(pars)
|
pars |
list of reference object of class 'number' representing the parameters to optmise. |
a reference object of class 'sgdwm.opt'
1 2 3 4 5 | modello.init(10, 10, 10, 10)
mdl = module.lm$new(1, 3, 1)
optimizer = sgdwm.opt(mdl$pars())
is.opt(optimizer) # TRUE
modello.close()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.