Skip to content

ML.EVAL.CLASSIFICATION.D2_LOG_LOSS_SCORE

Returns the D^2 log loss score.

Syntax

ML.EVAL.CLASSIFICATION.D2_LOG_LOSS_SCORE(y_true, y_score, sample_weight, labels)

Arguments

Name Type Default Description
y_true object DataFrame or array object of ground-truth target values.
y_score object DataFrame or array object of predicted probabilities or decision scores (e.g. output of ML.PREDICT_PROBA or ML.PREDICT).
sample_weight Any None Optional DataFrame or array object of per-sample weights. Omit for uniform weights.
labels object None Optional array of class labels to include in the score, in the order they should appear.

Examples

Examples coming soon

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

See also