pyanno4rt.learning_model.evaluation.metrics._auc_roc
AUC-ROC computation.
Overview
|
Compute the AUC-ROC scores. |
Functions
- pyanno4rt.learning_model.evaluation.metrics._auc_roc.auc_roc(true_labels, predicted_labels)[source]
Compute the AUC-ROC scores.
- Parameters:
true_labels (ndarray) – Ground truth label values.
predicted_labels (tuple) – Tuple of arrays with the training and out-of-folds labels predicted by the machine learning outcome model.
- Returns:
scores – Dictionary with the training and out-of-folds AUC-ROC scores.
- Return type:
dict