cue-class: Class cue

Description Usage Arguments Value See Also

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



fftrees documentation built on May 21, 2017, 1:57 a.m.
Search within the fftrees package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.