rules 1.1.0
CRAN release: 2026-11-26
C5_rules()with the C5.0 engine now passesC50::C5.0Control()engine arguments (e.g.,CF,winnow,fuzzyThreshold) to the control object; previously they were silently ignored. Ifcontrolis also given, these engine arguments overwrite the matching elements of the control object, with a warning when the control object’s value was not the default.Fixed a bug in
C5_rules()where anycostengine argument caused an error, even for two-class outcomes.The C5.0 engine arguments for
C5_rules()(CF,noGlobalPruning,winnow,fuzzyThreshold,bands) and the Cubist engine arguments forcubist_rules()(extrapolation,unbiased) are now registered with parsnip along with their dials parameter functions, replacing the customtunable()methods for these models.tunable()now always lists these engine arguments.
rules 1.0.0
CRAN release: 2022-06-23
tidy()method for Cubist models now has an option for how many committees to tidy.Added a
tidy()method for C5.0 rule-based models.The
mtry_propparameter was moved to the dials package and is now re-exported here for backward compatibility.A bug was fixed related to
multi_predict()with C5.0 rule-based models (#49).The
mtryargument is now mapped tocolsample_bynoderather thancolsample_bytree. This is consistent with parsnip’s interface toxgboostas of parsnip 0.1.6.colsample_bytreecan still be optimized by passing it in as an engine argument toset_engine()(#60).Introduced support for early stopping in
rule_fit()via thestop_iterargument. Seeparsnip::details_rule_fit_xrf. Note that this is a main argument torule_fit()requiring parsnip 1.0.0.
rules 0.2.0
CRAN release: 2022-03-14
- Model definition functions (e.g.
cubist_rules()) were moved to the parsnip package.
rules 0.1.1
CRAN release: 2021-01-16
Added
tidy()methods for cubist and RuleFit models to get back the rules and model coefficients.Clean up
tunable()methods that define the default parameter ranges for the tuning parameters.Changes to test for cases when CRAN cannot get
xgboostto work on their Solaris configuration.Case weights were enabled for [C5_rules()] and [cubist_rules()].
rules 0.1.0
CRAN release: 2020-10-28
- The default encoding methods were changed such that
parsnipwill respect the encoding that the underlying model uses.
