Skip to content

ML.EVAL.CLASSIFICATION.ACCURACY

Returns the accuracy classification score.

Syntax

ML.EVAL.CLASSIFICATION.ACCURACY(y_true, y_pred, normalize, 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.
normalize Any TRUE If TRUE, return the fraction of correctly classified samples. If FALSE, return the raw count.
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