maximize: Maximizes a 'Sdt' value

Description Usage Arguments Details Value See Also Examples

Description

Takes given fftree, and permutates given cues in all possible variants to find a permutation of cues, which has the highest value of whatToMaximize. Maximize is similar to bruteforce, but much smarter. Still: Be careful: This may take a LONG while!

Usage

1
2
fftm.maximize(tree, whatToMaximize, savebest = 1, cluster = NULL,
  cores = 1)

Arguments

tree

fftree

whatToMaximize

string; Which parameter of the tree should be maximized? See Sdt for possible values.

savebest

numeric; How big should the returning list be? If set to '100', the 'Top 100' of maximized cues will be returned.

cluster

If you have a HPC cluster, specifiy configuration here. See makeCluster from snow package.

cores

If multithreading is wanted (recommended for bigger computations!), you can specify your cores here.

Details

This is a bruteforce- variant, to maximize one of Sdts values. Normally one should use this method instead of maximize.

Value

List with best cues

See Also

Fftm, bruteforcemaximize, chase, montecarlo

Examples

1
2
rawdata <- fftm.Titanic.data()
tree <- Fftm(Survived ~ Age + Sex + Class, "maximize",rawdata, whatToMaximize = "percCorr", cores=4)

fftrees documentation built on May 2, 2019, 5:48 p.m.

Related to maximize in fftrees...