Package |
|
---|---|
precrec: A package for computing accurate ROC and Precision-Recall curves |
|
Main |
|
Evaluate models and calculate performance evaluation measures |
|
Data preparation |
|
Reformat input data for performance evaluation calculation |
|
Join scores of multiple models into a list |
|
Join observed labels of multiple test datasets into a list |
|
Create n-fold cross validation dataset from data frame |
|
Create random samples for simulations |
|
Visualization |
|
|
Plot performance evaluation measures |
|
Plot performance evaluation measures with ggplot2 |
|
Convert a curves and points object to a data frame for ggplot2 |
Data retrieval |
|
|
Convert a curves and points object to a data frame |
Retrieve a data frame of AUC scores |
|
Retrieve a data frame of pAUC scores |
|
Partical AUC and partial curve |
|
Calculate partial AUCs |
|
Confidence interval of AUC scores |
|
Calculate CIs of ROC and precision-recall AUCs |
|
DatasetsP10N10, B500, B1000, IB500, IB1000 and M2N50F5 |
|
A small example dataset with several tied scores. |
|
Balanced data with 500 positives and 500 negatives. |
|
Balanced data with 1000 positives and 1000 negatives. |
|
Imbalanced data with 500 positives and 5000 negatives. |
|
Imbalanced data with 1000 positives and 10000 negatives. |
|
5-fold cross validation sample. |