roc_auc_score¶
- roc_auc_score(y_true: ndarray, y_score: ndarray) float [source]¶
Compute the ROC AUC score.
- Parameters:
- y_truenp.ndarray
True binary labels of shape (n_instances,).
- y_scorenp.ndarray
Anomaly scores for each point of the time series of shape (n_instances,).
- Returns:
- float
ROC AUC score.
See also
sklearn.metrics.roc_auc_score
Is used internally.