rules is a parsnip extension package with model definitions for rule-based models, including:
You can install the released version of rules from CRAN with:
install.packages("rules")
Install the development version from GitHub with:
# install.packages("pak")
pak::pak("tidymodels/rules")
The rules package provides engines for the models in the following table.
| model | engine | mode | |:-------------|:-------|:---------------| | C5_rules | C5.0 | classification | | cubist_rules | Cubist | regression | | rule_fit | xrf | classification | | rule_fit | xrf | regression |
This project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
For questions and discussions about tidymodels packages, modeling, and machine learning, please post on RStudio Community.
If you think you have encountered a bug, please submit an issue.
Either way, learn how to create and share a reprex (a minimal, reproducible example), to clearly communicate about your code.
Check out further details on contributing guidelines for tidymodels packages and how to get help.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.