rtemis

Command Palette

Search for a command to run...

CARTHyperparameters

Variant

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

Raw JSONv1Unknown properties rejected

Properties

cp
number | object≥ 0

Complexity parameter.

maxdepth
integer | object≥ 1≤ 30

Maximum depth of tree (rpart limit: 30).

minsplit
integer | object≥ 1

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

minbucket
integer | object≥ 1

Minimum number of observations in a terminal node.

prune_cp
number | object | null≥ 0

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

method
string

Splitting method. auto = set from outcome type.

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

model
boolean

Keep a copy of the model frame in the result.

maxcompete
integer≥ 0

Number of competitor splits retained in the output.

maxsurrogate
integer≥ 0

Number of surrogate splits retained in the output.

usesurrogate
integer≥ 0≤ 2

How to use surrogates in the splitting process.

surrogatestyle
integer≥ 0≤ 1

Controls the selection of the best surrogate.

xval
integer≥ 0

Number of rpart-internal cross-validation folds.

cost
array | null≥ 1 items

Variable costs. Must have one value per feature.

ifw
boolean | object

Inverse Frequency Weighting in classification.

Relationships