extractMetric {caretEnsemble}R 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


[Package caretEnsemble version 4.0.1 Index]