accepted

Aopt.accepted(Y, X, params, update)[source]

Updates the internal state when the updated design was accepted (and therefore better).

Parameters

Ynp.array(2d)

The updated design matrix

Xnp.array(2d)

The updated model matrix

paramsParameters

The optimization parameters.

updateUpdate

The update being applied to the state.