metrics: Extract accuracy metrics from a model

Description Usage Arguments Value

Description

Extract accuracy metrics from a model

Extract accuracy metrics SDs from a model

Extract a model accuracy metric from a train object.

Extract the standard deviation from resamples for an accuracy metric from a model object.

Usage

1
2
3
4
5
6
7
8
9
getMetric(x, metric, ...)

getMetricSD(x, metric, ...)

## S3 method for class 'train'
getMetric(x, metric = NULL, ...)

## S3 method for class 'train'
getMetricSD(x, metric, ...)

Arguments

x

a train object

metric

which metric to get

...

passed through

Value

A numeric representing the metric desired metric.



Search within the caretEnsemble package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.