extractMetric.train | R Documentation |
train
modelExtract the cross-validated accuracy metrics and their SDs from caret.
## S3 method for class 'train'
extractMetric(x, metric = NULL, ...)
x |
a train object |
metric |
a character string representing the metric to extract. |
... |
ignored If NULL, uses the metric that was used to train the model. |
A numeric representing the metric desired metric.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.