Learn R Programming

⚠️There's a newer version (1.0.2) of this package.Take me there.

rules

rules is a "parsnip-adjacent" packages with model definitions for different rule-based models, including:

  • cubist models that have discrete rule sets that contain linear models with an ensemble method similar to boosting
  • classification rules where a ruleset is derived from an initial tree fit
  • rule-fit models that begin with rules extracted from a tree ensemble which are then added to a regularized linear or logistic regression.

Installation

Th package is not yet on CRAN and can be installed via:

# install.packages("devtools")
devtools::install_github("tidymodels/rules")

Code of Conduct

Please note that the rules project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Copy Link

Version

Install

install.packages('rules')

Monthly Downloads

849

Version

0.0.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Max Kuhn

Last Published

May 20th, 2020

Functions in rules (0.0.1)

rule_fit

General Interface for RuleFit Models
C5_rules

General Interface for C5.0 Rule-Based Classification Models
committees

Parameter functions for Cubist models
multi_predict._c5_rules

multi_predict() methods for rule-based models
reexports

Objects exported from other packages
mtry_prop

Proportion of Randomly Selected Predictors
cubist_rules

General Interface for Cubist Rule-Based Regression Models
c5_fit

Internal function wrappers