prauc: Calculate PR-AUC from cross-validation results

View source: R/prauc.R

praucR Documentation

Calculate PR-AUC from cross-validation results

Description

Uses the precrec package to calculate PR-AUC

Usage

prauc(preds, actual, test_folds)

Arguments

preds

Predicted values or score

actual

Known label value

test_folds

Length n vector assigning each vector to a given test fold

Value

Dataframe of results, including PR-AUC and standard error.

References

Boyd, K., Eng, K. H., & Page, C. D. (2013). Area under the precision-recall curve: point estimates and confidence intervals. In Joint European conference on machine learning and knowledge discovery in databases (pp. 451-466). Springer, Berlin, Heidelberg.


ck37/ckTools documentation built on April 29, 2023, 11:47 p.m.