cubistControl: Various parameters that control aspects of the Cubist fit.

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/cubist.R

Description

Various parameters that control aspects of the Cubist fit.

Usage

1
2
3
4
5
6
cubistControl(unbiased = FALSE, 
              rules = 100, 
              extrapolation = 100,
              sample = 0, 
              seed = sample.int(4096, size = 1) - 1L,
              label = "outcome")

Arguments

unbiased

a logical: should unbiased rules be used?

rules

an integer (or NA): define an explicit limit to the number of rules used (NA let's Cubist decide).

extrapolation

a number between 0 and 100: since Cubist uses linear models, predictions can be outside of the outside of the range seen the training set. This parameter controls how much rule predictions are adjusted to be consistent with the training set.

sample

a number between 0 and 99.9: this is the percentage of the data set to be randomly selected for model building (not for out-of-bag type evaluation).

seed

an integer for the random seed (in the C code)

label

a label for the outcome (when printing rules)

Details

Most of these values are discussed at length in http://rulequest.com/cubist-unix.html

Value

A list containing the options.

Author(s)

Max Kuhn

References

Quinlan. Learning with continuous classes. Proceedings of the 5th Australian Joint Conference On Artificial Intelligence (1992) pp. 343-348

Quinlan. Combining instance-based and model-based learning. Proceedings of the Tenth International Conference on Machine Learning (1993) pp. 236-243

Quinlan. C4.5: Programs For Machine Learning (1993) Morgan Kaufmann Publishers Inc. San Francisco, CA

http://rulequest.com/cubist-info.html

See Also

cubist, predict.cubist, summary.cubist, predict.cubist, dotplot.cubist

Examples

1

Example output

Loading required package: lattice
$unbiased
[1] FALSE

$rules
[1] 100

$extrapolation
[1] 1

$sample
[1] 0

$label
[1] "outcome"

$seed
[1] 1989

Cubist documentation built on May 2, 2019, 6:16 p.m.