View source: R/fftrees_create.R
fftrees_create | R Documentation |
FFTrees
fftrees_create
creates an FFTrees
object.
fftrees_create
is called internally by the main FFTrees
function.
Its main purpose is to verify and store various parameters
(e.g., to denote algorithms, goals, thresholds) to be used in maximization processes
and for evaluation purposes (e.g., sens.w
and cost values).
fftrees_create(
formula = NULL,
data = NULL,
data.test = NULL,
algorithm = NULL,
goal = NULL,
goal.chase = NULL,
goal.threshold = NULL,
max.levels = NULL,
numthresh.method = NULL,
numthresh.n = NULL,
repeat.cues = NULL,
stopping.rule = NULL,
stopping.par = NULL,
sens.w = NULL,
cost.outcomes = NULL,
cost.cues = NULL,
main = NULL,
decision.labels = NULL,
my.goal = NULL,
my.goal.fun = NULL,
my.tree = NULL,
do.comp = TRUE,
do.lr = TRUE,
do.svm = TRUE,
do.cart = TRUE,
do.rf = TRUE,
quiet = NULL
)
formula |
A formula (with a binary criterion variable). |
data |
Training data (as data frame). |
data.test |
Data for testing models/prediction (as data frame). |
algorithm |
Algorithm for growing FFTs ( |
goal |
Measure used to select FFTs (as character string). |
goal.chase |
Measure used to optimize FFT creation (as character string). |
goal.threshold |
Measure used to optimize cue thresholds (as character string). |
max.levels |
integer. |
numthresh.method |
string. |
numthresh.n |
integer. |
repeat.cues |
logical. |
stopping.rule |
string. |
stopping.par |
numeric. |
sens.w |
numeric. |
cost.outcomes |
list. |
cost.cues |
list. |
main |
string. |
decision.labels |
string. |
my.goal |
The name of an optimization measure defined by |
my.goal.fun |
The definition of an outcome measure to optimize, defined as a function
of the frequency counts of the 4 basic classification outcomes |
my.tree |
A verbal description of an FFT, i.e., an "FFT in words" (as character string).
For example, |
do.comp |
logical. |
do.lr |
logical. |
do.svm |
logical. |
do.cart |
logical. |
do.rf |
logical. |
quiet |
A list of logical elements. |
A new FFTrees
object.
fftrees_define
for defining FFTs;
FFTrees
for creating FFTs from and applying them to data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.