roc_auc_ovr

lightautoml.tasks.common_metric.roc_auc_ovr(y_true, y_pred, sample_weight=None)[source]

ROC-AUC One-Versus-Rest.

Parameters
  • y_true (ndarray) – True target values.

  • y_pred (ndarray) – Predicted target values.

  • sample_weight (Optional[ndarray]) – Weights of samples.

Returns

Metric values.