update

SplitkPlotMetricMixin.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

paramsParameters

The optimization parameters.

updateUpdate

The update being applied to the state.

Returns

upfloat

The update to the metric.