| ToolAUCCalculator | R Documentation | 
R6 class of the AUCCalculator tool
An R6 class object.
ToolAUCCalculator is a wrapper class for
the AUCCalculator tool, which
is a Java library that provides calculations of ROC and Precision-Recall
curves.
prcbench::ToolIFBase -> ToolAUCCalculator
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.
ToolAUCCalculator$new(...)
...set value for jarpath.
set_jarpath()It sets an AUCCalculator jar file.
ToolAUCCalculator$set_jarpath(jarpath = NULL)
jarpathFile path of the AUCCalculator jar file,
e.g. "/path1/path2/auc2.jar".
set_curvetype()It sets the type of curve.
ToolAUCCalculator$set_curvetype(curvetype = "SPR")
curvetype"SPR", "PR", or "ROC"
set_auctype()It sets the type of calculation method
ToolAUCCalculator$set_auctype(auctype)
auctype"java" or "r"
clone()The objects of this class are cloneable with this method.
ToolAUCCalculator$clone(deep = FALSE)
deepWhether to make a deep clone.
This class is derived from ToolIFBase.
create_toolset for creating a list of tools.
## Initialization
toolauccalc <- ToolAUCCalculator$new()
## Show object info
toolauccalc
## create_toolset should be used for benchmarking and curve evaluation
toolauccalc2 <- create_toolset("AUCCalculator")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.