Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

metrics

Extract accuracy metrics from a model


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

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.


caretEnsemble

Ensembles of Caret Models

v2.0.1
MIT + file LICENSE
Authors
Zachary A. Deane-Mayer [aut, cre], Jared E. Knowles [aut]
Initial release
2019-12-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.