sgdwm.opt: Create SGDWM optmiser

Description Usage Arguments Value Examples

Description

Creates a stochastic gradient descent with momentum optimiser.

Usage

1
sgdwm.opt(pars)

Arguments

pars

list of reference object of class 'number' representing the parameters to optmise.

Value

a reference object of class 'sgdwm.opt'

Examples

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()

modello documentation built on Feb. 2, 2021, 9:06 a.m.

Related to sgdwm.opt in modello...