precrec: Calculate Accurate Precision-Recall and ROC (Receiver Operator Characteristics) Curves

Share:

Accurate calculations and visualization of precision-recall and ROC (Receiver Operator Characteristics) curves.

Author
Takaya Saito [aut, cre], Marc Rehmsmeier [aut]
Date of publication
2016-11-22 09:07:09
Maintainer
Takaya Saito <takaya.saito@outlook.com>
License
GPL-3
Version
0.6.1
URLs

View on CRAN

Man pages

as.data.frame
Convert a curves and points object to a data frame
auc
Retrieve a data frame of AUC scores
autoplot
Plot performance evaluation measures with ggplot2
B1000
Balanced data with 1000 positives and 1000 negatives.
B500
Balanced data with 500 positives and 500 negatives.
create_sim_samples
Create random samples for simulations
evalmod
Evaluate models and calculate performance evaluation measures
fortify
Convert a curves and points object to a data frame for...
IB1000
Imbalanced data with 1000 positives and 10000 negatives.
IB500
Imbalanced data with 500 positives and 5000 negatives.
join_labels
Join observed labels of multiple test datasets into a list
join_scores
Join scores of multiple models into a list
mmdata
Reformat input data for performance evaluation calculation
P10N10
A small example dataset with several tied scores.
part
Calculate partial AUCs
pauc
Retrieve a data frame of pAUC scores
plot
Plot performance evaluation measures
precrec
precrec: A package for computing accurate ROC and...

Files in this package

precrec
precrec/inst
precrec/inst/CITATION
precrec/inst/doc
precrec/inst/doc/introduction.R
precrec/inst/doc/introduction.html
precrec/inst/doc/introduction.Rmd
precrec/tests
precrec/tests/testthat.R
precrec/tests/testthat
precrec/tests/testthat/test_pl6_1_calc_avg_points.R
precrec/tests/testthat/test_pl2_1_pl_main_rocprc.R
precrec/tests/testthat/test_mm3_1_reformat_data_scores.R
precrec/tests/testthat/test_pl5_2_create_prc.R
precrec/tests/testthat/test_pl5_3_create_curves.R
precrec/tests/testthat/test_pl1_1_pl_main.R
precrec/tests/testthat/test_pl2_1_pl_main_basic.R
precrec/tests/testthat/test_pl6_2_calc_avg_curves.R
precrec/tests/testthat/test_g_plot2_curves.R
precrec/tests/testthat/test_mm1_2_mmdata_mnames.R
precrec/tests/testthat/test_mm2_1_join_datasets.R
precrec/tests/testthat/test_g_fortify3_points.R
precrec/tests/testthat/test_g_print.R
precrec/tests/testthat/test_mm3_3_reformat_data_main.R
precrec/tests/testthat/test_mm3_2_reformat_data_labels.R
precrec/tests/testthat/test_pl5_1_create_roc.R
precrec/tests/testthat/test_g_plot3_points.R
precrec/tests/testthat/test_mm2_3_join_labels.R
precrec/tests/testthat/test_g_autoplot3_points.R
precrec/tests/testthat/test_g_fortify2_curves.R
precrec/tests/testthat/test_g_auc.R
precrec/tests/testthat/test_g_autoplot2_curves.R
precrec/tests/testthat/test_g_autoplot1_pl.R
precrec/tests/testthat/test_g_part.R
precrec/tests/testthat/test_mm1_1_mmdata.R
precrec/tests/testthat/test_mm2_2_join_scores.R
precrec/tests/testthat/test_g_datamatrix2_points.R
precrec/tests/testthat/test_pl3_1_create_confmats.R
precrec/tests/testthat/test_main_evalmod.R
precrec/tests/testthat/test_g_pauc.R
precrec/tests/testthat/test_g_datamatrix1_curves.R
precrec/tests/testthat/test_g_fortify1_pl.R
precrec/tests/testthat/test_pl4_1_calc_measures.R
precrec/src
precrec/src/format_labels.cpp
precrec/src/create_prc_curve.cpp
precrec/src/conv_vec.cpp
precrec/src/calc_basic_measures.cpp
precrec/src/calc_avg_curve.cpp
precrec/src/create_confusion_matrices.cpp
precrec/src/convert_curve_avg_df.cpp
precrec/src/convert_curve_df.cpp
precrec/src/conv_vec.h
precrec/src/get_score_ranks.cpp
precrec/src/calc_avg_point.cpp
precrec/src/create_roc_curve.cpp
precrec/src/calc_auc.cpp
precrec/src/RcppExports.cpp
precrec/NAMESPACE
precrec/NEWS.md
precrec/data
precrec/data/IB1000.rda
precrec/data/B1000.rda
precrec/data/P10N10.rda
precrec/data/IB500.rda
precrec/data/B500.rda
precrec/R
precrec/R/g_plot.R
precrec/R/mm3_reformat_data.R
precrec/R/etc_utils_validate_args.R
precrec/R/etc_utils_dataframe.R
precrec/R/pl4_calc_measures.R
precrec/R/etc_utils_autoplot.R
precrec/R/pl3_create_confmats.R
precrec/R/main_evalmod.R
precrec/R/g_fortify.R
precrec/R/pl5_create_curves.R
precrec/R/g_autoplot.R
precrec/R/pl2_pipeline_main_basic.R
precrec/R/g_dataframe.R
precrec/R/mm2_join_data.R
precrec/R/etc_utils_fortify.R
precrec/R/g_part.R
precrec/R/mm1_create_mmdat.R
precrec/R/RcppExports.R
precrec/R/etc_create_samples.R
precrec/R/pl2_pipeline_main_rocprc.R
precrec/R/g_pauc.R
precrec/R/precrec.R
precrec/R/g_print.R
precrec/R/etc_utils.R
precrec/R/pl1_pipeline_main.R
precrec/R/pl6_calc_average.R
precrec/R/etc_utils_plot.R
precrec/R/g_auc.R
precrec/R/etc_utils_validate_obj.R
precrec/vignettes
precrec/vignettes/introduction.Rmd
precrec/README.md
precrec/MD5
precrec/build
precrec/build/vignette.rds
precrec/DESCRIPTION
precrec/man
precrec/man/fortify.Rd
precrec/man/B500.Rd
precrec/man/mmdata.Rd
precrec/man/IB1000.Rd
precrec/man/as.data.frame.Rd
precrec/man/B1000.Rd
precrec/man/join_scores.Rd
precrec/man/auc.Rd
precrec/man/autoplot.Rd
precrec/man/part.Rd
precrec/man/pauc.Rd
precrec/man/P10N10.Rd
precrec/man/precrec.Rd
precrec/man/create_sim_samples.Rd
precrec/man/plot.Rd
precrec/man/join_labels.Rd
precrec/man/evalmod.Rd
precrec/man/IB500.Rd