update
- Aliasing.update(Y, X, params, update)[source]
Computes the update to the metric according to update. The update to the metric is of the form \(m_{new} = m_{old} + up\).
Parameters
- Ynp.array(2d)
The updated design matrix
- Xnp.array(2d)
The updated model matrix
- params
Parameters The optimization parameters.
- update
Update The update being applied to the state.
Returns
- upfloat
The update to the metric.