tests/testthat/_snaps/prob-lift_curve.md

error handling

Code
  lift_curve(df, truth, estimate)
Condition
  Error in `lift_curve()`:
  ! `truth` should be a factor, not a `numeric`.

errors with class_pred input

Code
  lift_curve_vec(cp_truth, estimate)
Condition
  Error in `gain_curve_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 April 21, 2023, 9:08 a.m.