pyanno4rt.learning_model.evaluation.metrics._auc_pr
AUC-PR computation.
Overview
|
Compute the AUC-PR scores. |
Functions
- pyanno4rt.learning_model.evaluation.metrics._auc_pr.auc_pr(true_labels, predicted_labels)[source]
Compute the AUC-PR 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-PR scores.
- Return type:
dict