Learn R Programming

prcbench (version 0.3.2)

Toolprecrec: R6 class of the precrec tool

Description

Toolprecrec is a wrapper class for the https://cran.r-project.org/package=precrec{precrec} tool, which is an R library that provides calculations of ROC and Precision-Recall curves.

Usage

Toolprecrec

Arguments

format

An R6 class object.

Inheritance

ToolIFBase

Methods

Following seven methods are inherited from ToolIFBase. See ToolIFBase for the method descriptions.
  • call(testset, calc_auc, store_res)
  • get_toolname()
  • get_setname()
  • get_result()
  • get_x()
  • get_y()
  • get_auc()

See Also

This class is derived from ToolIFBase. create_toolset for creating a list of tools.

Examples

Run this code
## Initialization
toolprecrec <- Toolprecrec$new()

## Show object info
toolprecrec

## create_toolset should be used for benchmarking and curve evaluation
toolprecrec2 <- create_toolset("precrec")

Run the code above in your browser using DataLab