extractMetric: Generic function to extract accuracy metrics from various...

View source: R/caretPredict.R

extractMetricR Documentation

Generic function to extract accuracy metrics from various model objects

Description

A generic function to extract cross-validated accuracy metrics from model objects.

Usage

extractMetric(x, ...)

Arguments

x

An object from which to extract metrics. The specific method will be dispatched based on the class of x.

...

Additional arguments passed to the specific methods.

Value

A data.table

See Also

extractMetric.train, extractMetric.caretList, extractMetric.caretStack


zachmayer/caretEnsemble documentation built on Dec. 19, 2024, 5:17 p.m.