Description Usage Arguments Details Value
Various parameters that control aspects of the ‘extree’ fit.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | extree_control(
criterion,
logmincriterion,
minsplit = 20L,
minbucket = 7L,
minprob = 0.01,
nmax = Inf,
stump = FALSE,
lookahead = FALSE,
maxsurrogate = 0L,
numsurrogate = FALSE,
mtry = Inf,
maxdepth = Inf,
multiway = FALSE,
splittry = 2L,
majority = FALSE,
caseweights = TRUE,
applyfun = NULL,
cores = NULL,
saveinfo = TRUE,
bonferroni = FALSE,
update = NULL,
selectfun,
splitfun,
svselectfun,
svsplitfun
)
|
criterion |
a character specifying the criterion used for variable and split point selection. Either "p.value" or "statistic". |
logmincriterion |
the value of the test statistic or 1 - p-value that must be exceeded in order to implement a split on the log-scale. |
minsplit |
the minimum sum of weights in a node in order to be considered for splitting. |
minbucket |
the minimum sum of weights in a terminal node. |
minprob |
proportion of observations needed to establish a terminal node. |
nmax |
|
stump |
a logical determining whether a stump (a tree with a maximum of three nodes only) is to be computed. |
lookahead |
a logical determining whether a split is implemented only
after checking if |
maxsurrogate |
number of surrogate splits to evaluate. |
numsurrogate |
a logical for backward-compatibility with party. If
|
mtry |
number of input variables randomly sampled as candidates
at each node for random forest like algorithms. The default
|
maxdepth |
maximum depth of the tree. The default |
multiway |
CURRENTLY IGNORED. A logical indicating if multiway splits for all factor levels are implemented for unordered factors. |
splittry |
number of variables that are inspected for admissible splits if the best split doesn't meet the sample size constraints. |
majority |
if |
caseweights |
a logical interpreting |
applyfun |
an optional |
cores |
numeric. If set to an integer the |
saveinfo |
logical. Store information about variable selection
procedure in |
update |
logical. If |
bonferroni |
logical. Should |
selectfun |
a function or list of functions with arguments |
splitfun |
a function or list of functions with arguments |
svselectfun |
an optional function or list of functions for selecting surrogate variables. |
svsplitfun |
an optional function or list of functions for selecting surrogate splits. |
The arguments splitfun
determines how to selected a splitting variable for a node.
It returns a list of p-values and test statistics per variable.
The variables are sorted by the p-value or test statistic (according to criterion
) and their sorted indices are the input for the selectfun
in form of the argument whichvar
.
For details on the other arguments, see ctree_control
.
For an example, see extree
.
A list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.