MeasureFunction | R Documentation |
Abstract class used as a template to define new M.L. performance measures.
The GenericHeuristic
is an full-abstract class so it cannot
be instantiated. To ensure the proper operation, compute
method is
automatically invoke by D2MCS
framework when needed.
new()
Method for initializing the object arguments during runtime.
MeasureFunction$new(performance = NULL)
performance
An optional ConfMatrix
parameter to
define the type of object used to compute the measure.
compute()
The function implements the metric used to measure the performance achieved by the M.L. model.
MeasureFunction$compute(performance.output = NULL)
performance.output
An optional ConfMatrix
parameter
to define the type of object used to compute the measure.
This function is automatically invoke by the D2MCS
framework.
A numeric vector of size 1 or NULL if an error occurred.
clone()
The objects of this class are cloneable with this method.
MeasureFunction$clone(deep = FALSE)
deep
Whether to make a deep clone.
MeasureFunction
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.