tests/testthat/_snaps/num-pseudo_huber_loss.md

Pseudo-Huber Loss

Code
  huber_loss_pseudo(ex_dat, truth = "obs", estimate = "pred_na", delta = -1)
Condition
  Error in `huber_loss_pseudo()`:
  ! `delta` must be a positive value.
Code
  huber_loss_pseudo(ex_dat, truth = "obs", estimate = "pred_na", delta = c(1, 2))
Condition
  Error in `huber_loss_pseudo()`:
  ! `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.