Abstract used as template to define customized metrics to compute model performance during train.
new()
The function carries out the initialization of parameters during runtime.
SummaryFunction$new(measures)
measures
A character vector with the measures used.
execute()
Abstract function used to implement the performance
calculator method. To guarantee a proper operation, this method is
automatically invoked by D2MCS
framework.
SummaryFunction$execute()
getMeasures()
The function obtains the measures used to compute the performance across resamples.
SummaryFunction$getMeasures()
clone()
The objects of this class are cloneable with this method.
SummaryFunction$clone(deep = FALSE)
deep
Whether to make a deep clone.
This class is an archetype, so it cannot be instantiated.
NoProbability
, UseProbability