| Toolprecrec | R Documentation |
R6 class of the precrec tool
An R6 class object.
Toolprecrec is a wrapper class for
the precrec tool,
which is an R library that provides calculations of ROC and Precision-Recall
curves.
prcbench::ToolIFBase -> Toolprecrec
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()new()Default class initialization method.
Toolprecrec$new(...)
...set value for x_bins.
set_x_bins()Set the number of supporting points as the number of bins.
Toolprecrec$set_x_bins(x_bins)
x_binsset value for x_bins.
clone()The objects of this class are cloneable with this method.
Toolprecrec$clone(deep = FALSE)
deepWhether to make a deep clone.
This class is derived from ToolIFBase.
create_toolset for creating a list of tools.
## Initialization
toolprecrec <- Toolprecrec$new()
## Show object info
toolprecrec
## create_toolset should be used for benchmarking and curve evaluation
toolprecrec2 <- create_toolset("precrec")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.