SummaryFunction | R Documentation |
Abstract used as template to define customized metrics to compute model performance during train.
This class is an archetype, so it cannot be instantiated.
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()
A character vector of NULL if measures are not defined.
clone()
The objects of this class are cloneable with this method.
SummaryFunction$clone(deep = FALSE)
deep
Whether to make a deep clone.
NoProbability
, UseProbability
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.