Abstract class used as a template to define new M.L. performance measures.
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.
clone()
The objects of this class are cloneable with this method.
MeasureFunction$clone(deep = FALSE)
deep
Whether to make a deep clone.
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.
MeasureFunction