Skip to contents

Returns the held-out performance of an sdt_fit() model, always with the same three columns whatever engine produced it.

Usage

sdt_metrics(model)

Arguments

model

An sdt_model from sdt_fit().

Value

A tibble::tibble() with columns .metric, .estimator and .estimate.

Examples

# See ?sdt_fit for a runnable example.
sdt_metric_set
#> function () 
#> {
#>     .require_pkgs("yardstick")
#>     yardstick::metric_set(yardstick::roc_auc, yardstick::accuracy, 
#>         yardstick::kap, yardstick::f_meas)
#> }
#> <bytecode: 0x588cde4903d0>
#> <environment: namespace:sandtablR>