Learn R Programming

caretEnsemble (version 4.0.1)

extractMetric.caretStack: Extract accuracy metrics from a caretStack object

Description

Extract the cross-validated accuracy metrics from the ensemble model and individual models in a caretStack.

Usage

# S3 method for caretStack
extractMetric(x, ...)

Value

A data.table with metrics from the ensemble model and individual models.

Arguments

x

a caretStack object

...

passed to extractMetric.train and extractMetric.caretList