Skip to content
/ rules Public

❗ This is a read-only mirror of the CRAN R package repository. rules — Model Wrappers for Rule-Based Models. Homepage: https://github.com/tidymodels/ruleshttps://rules.tidymodels.org/ Report bugs for this package: https://github.com/tidymodels/rules/issues

License

Notifications You must be signed in to change notification settings

cran/rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rules

Lifecycle: experimental R-CMD-check Codecov test coverage CRAN status

Introduction

rules is a parsnip extension package with model definitions for 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

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")

Available Engines

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

Contributing

This project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

About

❗ This is a read-only mirror of the CRAN R package repository. rules — Model Wrappers for Rule-Based Models. Homepage: https://github.com/tidymodels/ruleshttps://rules.tidymodels.org/ Report bugs for this package: https://github.com/tidymodels/rules/issues

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages