tests/testthat/_snaps/class-bal_accuracy.md

work with class_pred input

Code
  bal_accuracy(cp_truth, cp_estimate)
Condition
  Error in `UseMethod()`:
  ! no applicable method for 'bal_accuracy' applied to an object of class "c('class_pred', 'vctrs_vctr')"


Try the yardstick package in your browser

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

yardstick documentation built on April 21, 2023, 9:08 a.m.