Class cue

Description

Class cue is a node in a tree with parameters to binarize the data

A cue is an S4 object, that represents a node in a tree. Fast- and Frugal trees use binary predicitons, but data normally is numeric. By defining the cue- parameters the cue automatically binarizes given data by a set of parameters.

Usage

1
Cue(inputvector, test = "<=", split = 0, pred = TRUE, name = "")

Arguments

inputvector

Data, which should be predicted. If you just want to build a tree without measuring it's performance, set to c(0)

test

Charactervector, which describes the binarization- operator. Possible values '==', '<=', '<', '>', '>='

split

Numeric value; at which the prediction switches

pred

Logical value; what the cue will predict, if the test at the particular split succeeds

name

Charactervector; how the cue is named (just for description, without function)

Value

cue S4 object

See Also

Fftree, cue.getAllVariants

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.