Nothing
Code
fall_out_vec(cp_truth, cp_estimate)
Condition
Error in `fall_out_vec()`:
! `truth` should not a <class_pred> object.
Code
fall_out_vec(1, 1, na_rm = "yes")
Condition
Error in `fall_out_vec()`:
! `na_rm` must be `TRUE` or `FALSE`, not the string "yes".
NA with a warning when results are undefined (#98)Code
out <- fall_out_vec(truth, estimate)
Condition
Warning:
While computing binary `fall_out()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`).
Fall-out is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occurred for the problematic event level, a
Code
out <- fall_out_vec(truth, estimate)
Condition
Warning:
While computing multiclass `fall_out()`, some levels had no true negatives (i.e. `true_negative + false_positive = 0`).
Fall-out is undefined in this case, and those levels will be removed from the averaged result.
Note that the following number of predicted negatives actually occurred for each problematic event level:
'a': 2
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.