Computes the performance across resamples when class probabilities can be computed.
D2MCS::SummaryFunction
-> UseProbability
Inherited methods
new()
The function defined during runtime the usage of seven measures: 'ROC', 'Sens', 'Kappa', 'Accuracy', 'TCR_9', 'MCC' and 'PPV'.
UseProbability$new()
execute()
The function computes the performance across resamples using the previously defined measures.
UseProbability$execute(data, lev = NULL, model = NULL)
data
A data.frame containing the data used to compute the performance.
lev
An optional value used to define the levels of the target class.
model
An optional value used to define the M.L. model used.
A vector of performance estimates.
clone()
The objects of this class are cloneable with this method.
UseProbability$clone(deep = FALSE)
deep
Whether to make a deep clone.
SummaryFunction