Skip to content

ML.EVAL.CLASSIFICATION.MATTHEWS_CORRCOEF

Returns the Matthews correlation coefficient.

Syntax

ML.EVAL.CLASSIFICATION.MATTHEWS_CORRCOEF(y_true, y_pred, sample_weight)

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.

Examples

Examples coming soon

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

See also