Learn R Programming

modello (version 0.1.1)

adam.opt: Create Adam optmiser

Description

Creates an Adam optimiser.

Usage

adam.opt(pars)

Arguments

pars

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

Value

a reference object of class 'adam.opt'

Examples

Run this code
# NOT RUN {
modello.init(10, 10, 10, 10)
mdl = module.lm$new(1, 3, 1)
optimizer = adam.opt(mdl$pars())
is.opt(optimizer) # TRUE
modello.close()
# }

Run the code above in your browser using DataLab