tidy.C5.0 {tidyrules}R Documentation

Get the rulelist from a C5 model

Description

Each row corresponds to a rule per trial_nbr

Usage

## S3 method for class 'C5.0'
tidy(x, ...)

Arguments

x

C50::C5.0 model fitted with rules = TRUE

...

Other arguments (See details)

Details

Optional named arguments:

Value

A rulelist object

See Also

rulelist, tidy, augment, predict, calculate, prune, reorder

Other Core Tidy Utility: tidy(), tidy.cubist(), tidy.rpart()

Examples

model_c5 = C50::C5.0(Attrition ~., data = modeldata::attrition, rules = TRUE)
tidy(model_c5)


[Package tidyrules version 0.2.7 Index]