Learn R Programming

tidysdm (version 1.0.0)

collect_metrics.simple_ensemble: Obtain and format results produced by tuning functions for ensemble objects

Description

Return a tibble of performance metrics for all models.

Usage

# S3 method for simple_ensemble
collect_metrics(x, ...)

# S3 method for repeat_ensemble collect_metrics(x, ...)

Value

A tibble.

Arguments

x

A simple_ensemble or repeat_ensemble object

...

Not currently used.

Details

When applied to a ensemble, the metrics that are returned do not contain the actual tuning parameter columns and values (unlike when these collect functions are run on other objects). The reason is that ensembles contain different types of models or models with different tuning parameters.

See Also

Examples

Run this code
collect_metrics(lacerta_ensemble)
collect_metrics(lacerta_rep_ens)

Run the code above in your browser using DataLab