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 June 22, 2024, 7:07 p.m.