Learn R Programming

dials (version 0.0.8)

confidence_factor: Parameters for possible engine parameters for C5.0

Description

These parameters are auxiliary to tree-based models that use the "C5.0" engine. They correspond to tuning parameters that would be specified using set_engine("C5.0", ...).

Usage

confidence_factor(range = c(-1, 0), trans = log10_trans())

no_global_pruning(values = c(TRUE, FALSE))

predictor_winnowing(values = c(TRUE, FALSE))

fuzzy_thresholding(values = c(TRUE, FALSE))

rule_bands(range = c(2L, 500L), trans = NULL)

Arguments

range

A two-element vector holding the defaults for the smallest and largest possible values, respectively.

trans

A trans object from the scales package, such as scales::log10_trans() or scales::reciprocal_trans(). If not provided, the default is used which matches the units used in range. If no transformation, NULL.

values

For no_global_pruning(), predictor_winnowing(), and fuzzy_thresholding() either TRUE or FALSE.

Details

To use these, check ?C50::C5.0Control to see how they are used.

Examples

Run this code
# NOT RUN {
confidence_factor()
no_global_pruning()
predictor_winnowing()
fuzzy_thresholding()
rule_bands()
# }

Run the code above in your browser using DataLab