cg_optim_adam: Adaptive Moment Estimation (ADAM)

Description Usage Arguments Value Author(s)

View source: R/optimizer.R

Description

Initialize an ADAM optimizer.

Usage

1
cg_optim_adam(parms = list(), eta = 0.001, betas = c(0.9, 0.999), eps = 1e-08)

Arguments

parms

list of cg_node objects, the nodes to be optimzed.

eta

numeric scalar, learning rate.

betas

numeric vector of length two, first and second moment rates.

eps

numeric scalar, small term to improve numerical stability (optional).

Value

cg_optim object.

Author(s)

Ron Triepels


triepels/cgraph documentation built on April 24, 2020, 12:58 a.m.