rtemis

Command Palette

Search for a command to run...

CARTHyperparameters

Variant

CART decision tree (rpart). See `setup_CART`.

Raw JSONv1Unknown properties rejected

Properties

cptunable
numberdefault 0.01≥ 0

Complexity parameter.

maxdepthtunable
integerdefault 20≥ 1≤ 30

Maximum depth of tree (rpart limit: 30).

minsplittunable
integerdefault 2≥ 1

Minimum number of observations in a node to attempt a split.

minbuckettunable
integerdefault 1≥ 1

Minimum number of observations in a terminal node.

prune_cp
number | number[] | nulldefault null≥ 0≥ 1 items

Complexity for cost-complexity pruning after the tree is built.

method
stringdefault "auto"

Splitting method. auto = set from outcome type.

one of"auto""anova""class""poisson""exp"

model
booleandefault true

Keep a copy of the model frame in the result.

maxcompete
integerdefault 4≥ 0

Number of competitor splits retained in the output.

maxsurrogate
integerdefault 5≥ 0

Number of surrogate splits retained in the output.

usesurrogate
integerdefault 2≥ 0≤ 2

How to use surrogates in the splitting process.

surrogatestyle
integerdefault 0≥ 0≤ 1

Controls the selection of the best surrogate.

xval
integerdefault 0≥ 0

Number of rpart-internal cross-validation folds.

cost
array | nulldefault null≥ 1 items

Variable costs. Must have one value per feature.

ifwtunable
booleandefault false

Inverse Frequency Weighting in classification.

Relationships