tests/testthat/_snaps/case-weights.md

case weights with formula method -- unregistered model spec

Code
  bag_mars("regression") %>% fit(Sale_Price ~ Longitude + Latitude, data = ames,
  case_weights = wts)
Condition
  Error in `case_weights_allowed()`:
  ! Error in getting model information for model bag_mars with engine earth and mode regression.


Try the parsnip package in your browser

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

parsnip documentation built on Aug. 18, 2023, 1:07 a.m.