| ToolIFBase | R Documentation |
Base class of performance evaluation tools.
An R6 class object
ToolIFBase is an abstract class to provide a uniform interface for
performance evaluation tools.
new()Default class initialization method.
ToolIFBase$new(...)
...set value for setname, calc_auc,
store_res, x, y.
call()It calls the tool to calculate precision-recall curves.
ToolIFBase$call(testset, calc_auc, store_res)
testsetR6 object generated by the create_testset
function.
calc_aucA Boolean value to specify whether the AUC score should be calculated.
store_resA Boolean value to specify whether the calculated curve is retrieved and stored.
get_toolname()Get the name of the tool.
ToolIFBase$get_toolname()
set_toolname()Set the name of the tool.
ToolIFBase$set_toolname(toolname)
toolnameName of the tool.
get_setname()Get the name of the tool set.
ToolIFBase$get_setname()
set_setname()Set the name of the tool set.
ToolIFBase$set_setname(setname)
setnameName of the tool set.
get_result()Get a list with curve values and the AUC score.
ToolIFBase$get_result()
get_x()Get calculated recall values.
ToolIFBase$get_x()
get_y()Get calculated precision values.
ToolIFBase$get_y()
get_auc()Get tne AUC score.
ToolIFBase$get_auc()
print()Pretty print of the tool interface
ToolIFBase$print(...)
...Not used.
clone()The objects of this class are cloneable with this method.
ToolIFBase$clone(deep = FALSE)
deepWhether to make a deep clone.
ToolROCR, ToolAUCCalculator,
ToolPerfMeas, ToolPRROC,
and Toolprecrec are derived from this class.
create_toolset for creating a list of tools.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.