Nothing
class_pred
can be converted to factor
when computing metricsCode
accuracy_vec(cp_truth, cp_estimate)
Condition
Error in `accuracy_vec()`:
! `truth` should not a <class_pred> object.
class_pred
errors when passed to conf_mat()
Code
conf_mat(cp_hpc_cv, obs, pred)
Condition
Error in `conf_mat_impl()`:
! `truth` should not a <class_pred> object.
Code
conf_mat(dplyr::group_by(cp_hpc_cv, Resample), obs, pred)
Condition
Error in `conf_mat_impl()`:
! `truth` should not a <class_pred> object.
class_pred
errors when passed to metrics()
Code
metrics(cp_df, truth, estimate, class1)
Condition
Error in `metric_set()`:
! Failed to compute `accuracy()`.
Caused by error:
! `truth` should not a <class_pred> object.
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.