tests/testthat/_snaps/prob-roc_aunu.md

AUNU errors on binary case

Code
  roc_aunu(two_class_example, truth, Class1)
Condition
  Error in `roc_aunu()`:
  ! The number of levels in `truth` (2) must match the number of columns supplied in `...` (1).

roc_aunu() - options is deprecated

Code
  out <- roc_aunu(two_class_example, truth, Class1, Class2, options = 1)
Condition
  Warning:
  The `options` argument of `roc_aunu()` was deprecated in yardstick 1.0.0.
  i This argument no longer has any effect, and is being ignored. Use the pROC package directly if you need these features.
Code
  out <- roc_aunu_vec(truth = two_class_example$truth, estimate = as.matrix(
    two_class_example[c("Class1", "Class2")]), options = 1)
Condition
  Warning:
  The `options` argument of `roc_aunu_vec()` was deprecated in yardstick 1.0.0.
  i This argument no longer has any effect, and is being ignored. Use the pROC package directly if you need these features.

errors with class_pred input

Code
  roc_aunu_vec(cp_truth, estimate)
Condition
  Error in `roc_aunu_vec()`:
  ! `truth` should not a <class_pred> object.


Try the yardstick package in your browser

Any scripts or data that you put into this service are public.

yardstick documentation built on June 22, 2024, 7:07 p.m.