prcbench {prcbench} | R Documentation |
prcbench: A package to provide a testing workbench for precision-recall curves
Description
The prcbench package provides four categories of important functions: tool interface, test data interface, benchmarking, and curve evaluation.
Tool interface
The create_toolset
function creates a common interface for
five different tools that calculate Precision-Recall curves. These tools
are ROCR,
AUCCalculator,
PerfMeas,
PRROC, and
precrec.
The create_usrtool
function helps users to make the same
interface of the predefined ones for their own tools.
Test data interface
The create_testset
function creates two different types of test
data sets. The first type is for benchmarking, and the second type is for
curve evaluation.
The create_usrdata
function helps users to make their own test
data sets.
Benchmarking
The run_benchmark
function takes a tool set and a test data set
and run microbenchmark
for them.
Curve evaluation
The run_evalcurve
function takes a tool set and a test data set
and evaluates the accuracy of Precision-Recall curves for them.