| Toolprecrec {prcbench} | R Documentation |
Toolprecrec
Description
R6 class of the precrec tool
Format
An R6 class object.
Details
Toolprecrec is a wrapper class for
the precrec tool,
which is an R library that provides calculations of ROC and Precision-Recall
curves.
Super class
prcbench::ToolIFBase -> Toolprecrec
Methods
Public methods
Inherited methods
prcbench::ToolIFBase$call()prcbench::ToolIFBase$get_auc()prcbench::ToolIFBase$get_result()prcbench::ToolIFBase$get_setname()prcbench::ToolIFBase$get_toolname()prcbench::ToolIFBase$get_x()prcbench::ToolIFBase$get_y()prcbench::ToolIFBase$print()prcbench::ToolIFBase$set_setname()prcbench::ToolIFBase$set_toolname()
Method new()
Default class initialization method.
Usage
Toolprecrec$new(...)
Arguments
...set value for
x_bins.
Method set_x_bins()
Set the number of supporting points as the number of bins.
Usage
Toolprecrec$set_x_bins(x_bins)
Arguments
x_binsset value for
x_bins.
Method clone()
The objects of this class are cloneable with this method.
Usage
Toolprecrec$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
See Also
This class is derived from ToolIFBase.
create_toolset for creating a list of tools.
Examples
## Initialization
toolprecrec <- Toolprecrec$new()
## Show object info
toolprecrec
## create_toolset should be used for benchmarking and curve evaluation
toolprecrec2 <- create_toolset("precrec")
[Package prcbench version 1.1.8 Index]