tests/testthat/_snaps/num-huber_loss.md

Huber Loss

Code
  huber_loss(ex_dat, truth = "obs", estimate = "pred_na", delta = -1)
Condition
  Error in `huber_loss()`:
  ! `delta` must be a positive value.
Code
  huber_loss(ex_dat, truth = "obs", estimate = "pred_na", delta = c(1, 2))
Condition
  Error in `huber_loss()`:
  ! `delta` must be a single numeric value.


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.