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


caretEnsemble documentation built on Sept. 13, 2024, 1:11 a.m.