Nothing
Code
roc_curve_vec(df$truth, df$Class1, na_rm = FALSE)
Condition
Error in `roc_curve_vec()`:
x Missing values were detected and `na_ra = FALSE`.
i Not able to perform calculations.
Code
roc_curve_vec(cp_truth, estimate)
Condition
Error in `roc_curve_vec()`:
! `truth` should not a <class_pred> object.
Code
roc_curve_vec(1, 1, na_rm = "yes")
Condition
Error in `roc_curve_vec()`:
! `na_rm` must be `TRUE` or `FALSE`, not the string "yes".
Code
roc_curve_vec(no_event$truth, no_event$Class1)[[".estimate"]]
Condition
Error in `roc_curve_vec()`:
! No event observations were detected in `truth` with event level 'Class1'.
Code
roc_curve_vec(no_control$truth, no_control$Class1)[[".estimate"]]
Condition
Error in `roc_curve()`:
! No control observations were detected in `truth` with control level 'Class2'.
Code
roc_curve_vec(no_event$obs, as.matrix(dplyr::select(no_event, VF:L)))[[
".estimate"]]
Condition
Error in `roc_curve()`:
! No control observations were detected in `truth` with control level '..other'.
options is defunctCode
roc_curve(two_class_example, truth, Class1, options = 1)
Condition
Error:
! The `options` argument of `roc_curve()` was deprecated in yardstick 1.0.0 and is now defunct.
i This argument no longer has any effect, and is being ignored. Use the pROC package directly if you need these features.
Code
roc_curve(two_class_example, truth, Class1, thresholds = TRUE)
Condition
Error in `roc_curve()`:
! `thresholds` must be a numeric vector, not `TRUE`.
Code
roc_curve(two_class_example, truth, Class1, thresholds = -4)
Condition
Error in `roc_curve()`:
! `thresholds` must only take values between 0 and 1.
The following 1 index falls outside the range: 1.
Code
roc_curve(two_class_example, truth, Class1, thresholds = seq(-1, 2, by = 0.2))
Condition
Error in `roc_curve()`:
! `thresholds` must only take values between 0 and 1.
The following 10 indices fall outside the range: 1, 2, 3, 4, 5, 12, 13, 14, 15, and 16.
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.