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(
data = NULL,
formula = NULL,
algorithm = NULL,
goal = NULL,
goal.chase = NULL,
goal.threshold = NULL,
numthresh.method = NULL,
numthresh.n = NULL,
sens.w = NULL,
max.levels = NULL,
cost.outcomes = NULL,
cost.cues = NULL,
stopping.rule = NULL,
stopping.par = NULL,
decision.labels = NULL,
main = NULL,
my.tree = NULL,
data.test = NULL,
repeat.cues = NULL,
do.lr = TRUE,
do.svm = TRUE,
do.cart = TRUE,
do.rf = TRUE,
do.comp = TRUE,
quiet = NULL
)
A new FFTrees
object.
Training data (as data frame).
A formula (with a binary criterion variable).
string.
string.
string.
string.
string.
integer.
numeric.
integer.
list.
list.
string.
numeric.
string.
string.
string.
dataframe.
logical.
logical.
logical.
logical.
logical.
logical.
logical
fftrees_define
for defining FFTs;
FFTrees
for creating FFTs from and applying them to data.