Skip to content

ML.EVAL.CLASSIFICATION.BALANCED_ACCURACY

Returns the balanced accuracy classification score.

Syntax

ML.EVAL.CLASSIFICATION.BALANCED_ACCURACY(y_true, y_pred, sample_weight, adjusted)

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.
adjusted Any FALSE If TRUE, rescale the score so 0 is chance performance and 1 is perfect performance.

Examples

Examples coming soon

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

See also