tests/testthat/_snaps/int_pctl.md

percentile intervals - resamples only

Code
  int_res_1 <- int_pctl(lm_res, times = 500)
Condition
  Warning:
  Recommend at least 1000 non-missing bootstrap resamples for terms: `rmse`, `rsq`.
Code
  int_pctl(lm_res, times = 2000, metrics = "rmse")
Condition
  Error in `int_pctl()`:
  ! `metrics` should be a metric set as generated by `yardstick::metric_set()`.
Code
  int_res_2 <- int_pctl(lm_res, times = 500, alpha = 0.25)
Condition
  Warning:
  Recommend at least 1000 non-missing bootstrap resamples for terms: `rmse`, `rsq`.

percentile intervals - last fit

Code
  int_res_1 <- int_pctl(lm_res, times = 200)
Condition
  Warning:
  Recommend at least 1000 non-missing bootstrap resamples for term `mae`.
Code
  int_res_2 <- int_pctl(lm_res, times = 200)
Condition
  Warning:
  Recommend at least 1000 non-missing bootstrap resamples for term `mae`.

percentile intervals - grid + bayes tuning

Code
  int_res_1 <- int_pctl(c5_res)

percentile intervals - grid tuning with validation set

Code
  int_res_1 <- int_pctl(c5_res)


Try the tune package in your browser

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

tune documentation built on May 29, 2024, 7:32 a.m.