tests/testthat/_snaps/conf-mat-resampled.md

bad argss

Code
  conf_mat_resampled(svm_results)
Condition
  Error in `conf_mat_resampled()`:
  ! It looks like there are 5 tuning parameter combination(s) in the data. Please use the `parameters` argument to select one combination of parameters.
Code
  conf_mat_resampled(mt_knn_bo)
Condition
  Error in `conf_mat_resampled()`:
  ! Cannot find the predicted classes. Was this a classification model?
Code
  conf_mat_resampled(broke_results)
Condition
  Error in `conf_mat_resampled()`:
  ! The function was not run with the `save_pred = TRUE` option. Please re-run with that option.
Code
  conf_mat_resampled(tibble::as_tibble(svm_results))
Condition
  Error in `conf_mat_resampled()`:
  ! The first argument needs to be an object with class 'tune_results'.
Code
  conf_mat_resampled(broke_results)
Condition
  Error in `conf_mat_resampled()`:
  ! Cannot find the predicted classes. Was this a classification model?
Code
  conf_mat_resampled(broke_results, select_best(broke_results, "accuracy"))
Condition
  Error in `conf_mat_resampled()`:
  ! Cannot determine the proper outcome name
Code
  conf_mat_resampled(svm_results)
Condition
  Error in `conf_mat_resampled()`:
  ! It looks like there are 5 tuning parameter combination(s) in the data. Please use the `parameters` argument to select one combination of parameters.


Try the tune package in your browser

Any scripts or data that you put into this service are public.

tune documentation built on Aug. 24, 2023, 1:09 a.m.