Skip to content

adam

adam(f, x0, options?): any

Defined in: gradient.js:211

Adam (adaptive moment estimation).

Parameters

f

Function

Objective

x0

number[]

Initial parameters

options?

any = {}

{grad, learningRate, maxIter, tol, beta1, beta2, epsilon, verbose}

Returns

any

{x, fx, iterations, converged, history}