get_rules | R Documentation |
Get rules generated by s_RuleFit or s_LightRuleFit
get_rules(
mod,
formatted = FALSE,
collapse = TRUE,
collapse.keep.names = FALSE,
collapse.unique = TRUE
)
mod |
Model created by s_RuleFit or s_LightRuleFit |
formatted |
Logical: If TRUE, return human-readable rules, otherwise return R-parsable rules |
collapse |
Logical: If TRUE, collapse all rules to a single character vector |
collapse.keep.names |
Logical: If TRUE, keep names when collapsing (will
be able to tell which run each rule came from). However, has no effect if
|
collapse.unique |
Logical: If TRUE and |
ED Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.