tests/testthat/_snaps/first_level_prob_name.md

can find the correct first level .pred name

Code
  first_class_prob_name(preds, "Potato", "Class")
Condition
  Error in `first_level()`:
  ! `event_level` must be one of "first" or "second", not "Potato".
Code
  first_class_prob_name(preds, "first", "Potato")
Condition
  Error in `first_level()`:
  ! 'Potato' is not a column in the dataset
Code
  first_class_prob_name(preds, first, "Class")
Condition
  Error in `first_level()`:
  ! `event_level` must be a character vector, not a function.
object 'Class' not found


Try the shinymodels package in your browser

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

shinymodels documentation built on May 29, 2024, 2:22 a.m.