getMetricSD: Extract the standard deviation from resamples for an accuracy metric from
a model object.
Description
Extract the standard deviation from resamples for an accuracy metric from
a model object.
Usage
getMetricSD(x, metric, which = c("all", "best"))
Arguments
x
an object with model performanc metrics
metric
a character, either "RMSE" or "AUC" indicating which metric to extract
which
a character, either "all" or "best", default is best, see details
Value
A numeric for the standard deviation of the selected metric across
tuning parameters and resamples in the original object.
Details
Which allows the user to select whether to generate a standard deviation
for the performance metric across all values of the tuning parameters and resamples,
or only for resamples under the best tuning parameter. Missing values are ignored.