run_adaQN_free {stochQN}R Documentation

Run adaQN optimizer in free-mode

Description

Run the next step of an adaQN optimization procedure, after the last requested calculation has been fed to the optimizer. When run for the first time, there is no request, so the function just needs to be run on the object as it is returned from function 'adaQN_free'.

Usage

run_adaQN_free(optimizer, x, step_size)

Arguments

optimizer

An 'adaQN_free' optimizer, for which its last request must have been served. Will be updated in-place.

x

Current values of the variables being optimized. Must be a numeric vector. Will be updated in-place.

step_size

Step size for the quasi-Newton update.

Value

A request with the next piece of required information. The output will be a list with the following levels:

See Also

adaQN_free


[Package stochQN version 0.1.2-1 Index]