rtemis

Command Palette

Search for a command to run...

CARTHyperparameters

Variant

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

Raw JSONv1Unknown properties rejected

Properties

cptunable
number≥ 0

Complexity parameter.

maxdepthtunable
integer≥ 1≤ 30

Maximum depth of tree (rpart limit: 30).

minsplittunable
integer≥ 1

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

minbuckettunable
integer≥ 1

Minimum number of observations in a terminal node.

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

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.

ifwtunable
boolean

Inverse Frequency Weighting in classification.

Relationships