Learn R Programming

caretEnsemble (version 4.0.1)

extractMetric: 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, ...)

Value

A data.table

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.

See Also

extractMetric.train, extractMetric.caretList, extractMetric.caretStack