tests/testthat/_snaps/rule-fit-regression.md

early stopping works in xrf_fit

Code
  suppressMessages(rf_fit_3 <- fit(rf_mod_3, mpg ~ ., data = mtcars))
Warning <rlang_warning>
  `early_stop` was reduced to 4.

xrf_fit guards xgb_control

Code
  suppressMessages(fit(rf_mod, mpg ~ ., data = mtcars))
Warning <rlang_warning>
  The following arguments cannot be manually modified and were removed: xgb_control.
Output
  parsnip model object

  An eXtreme RuleFit model of 7 rules.

  Original Formula:

  mpg ~ cyl + disp + hp + drat + wt + qsec + vs + am + gear + carb


Try the rules package in your browser

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

rules documentation built on March 31, 2023, 8:24 p.m.