collect_class_thresh: Obtain and format the class thresholds for ensemble objects

View source: R/collect_class_thresh.R

collect_class_threshR Documentation

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, ...)

Arguments

x

A simple_ensemble

...

Not currently used.

Value

A tibble.

Examples


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)


tidysdm documentation built on Dec. 14, 2025, 1:06 a.m.