call

Metric.call(Y, X, params)[source]

Computes the criterion for the provided design and model matrices.

Note

The metric is maximized in the algorithm, so the in case of minimization, the negative value should be returned.

Parameters

Ynp.array(2d)

The updated design matrix.

Xnp.array(2d)

The updated model matrix.

paramsParameters

The optimization parameters.

Returns

metricfloat

The result metric (to be maximized).