Learn R Programming

tidysdm (version 1.0.4)

collect_class_thresh: Obtain and format the class thresholds for ensemble objects

Description

Return a tibble of class thresholds, as computed by calib_class_thresh().

Usage

collect_class_thresh(x, ...)

Value

A tibble.

Arguments

x

A simple_ensemble

...

Not currently used.

Examples

Run this code
if (FALSE) { # rlang::is_installed("earth")
test_ens <- simple_ensemble() %>%
  add_member(two_class_res[1:3, ], metric = "roc_auc")
test_ens <- calib_class_thresh(test_ens, class_thresh = "tss_max")
test_ens <- calib_class_thresh(test_ens, class_thresh = "kap_max")
collect_class_thresh(test_ens)
}

Run the code above in your browser using DataLab