Skip to content

ML.EVAL.REGRESSION.D2_ABSOLUTE_ERROR_SCORE

Returns the D^2 regression score function, fraction of absolute error explained.

Syntax

ML.EVAL.REGRESSION.D2_ABSOLUTE_ERROR_SCORE(y_true, y_pred, sample_weight, multioutput)

Arguments

Name Type Default Description
y_true object DataFrame or array object of ground-truth target values.
y_pred object DataFrame or array object of predicted target values.
sample_weight Any None Optional DataFrame or array object of per-sample weights. Omit for uniform weights.
multioutput Any "uniform_average" How to aggregate scores across multiple output dimensions. One of 'raw_values', 'uniform_average', or 'variance_weighted'.

Examples

Examples coming soon

Working Excel formula examples for this function are not yet written.

See also