R6 class of the PerfMeas tool

Format

An R6 class object.

Details

ToolPerfMeas is a wrapper class for the PerfMeas tool, which is an R library that provides several performance measures.

See also

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

Super class

prcbench::ToolIFBase -> ToolPerfMeas

Methods

Public methods

Inherited methods

Method clone()

The objects of this class are cloneable with this method.

Usage

ToolPerfMeas$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

## Initialization toolperf <- ToolPerfMeas$new() ## Show object info toolperf
#> #> === Tool interface === #> #> Tool name: PerfMeas #> Calculate AUC score: Yes #> Store results: Yes #> Prediction performed: No #> Available methods: call(testset, calc_auc, store_res) #> get_toolname() #> set_toolname(toolname) #> get_setname() #> set_setname(setname) #> get_result() #> get_x() #> get_y() #> get_auc() #> Help file: help("ToolPerfMeas")
## create_toolset should be used for benchmarking and curve evaluation toolperf2 <- create_toolset("PerfMeas")