BARTHyperparameters
VariantBayesian Additive Regression Trees (stochtree). See `setup_BART`.
Properties
num_treesinteger | object≥ 1Number of trees in the mean forest.
alphanumber | object> 0< 1Base of the tree split prior alpha * (1 + depth)^-beta.
betanumber | object≥ 0Depth penalty exponent of the tree split prior alpha * (1 + depth)^-beta.
min_samples_leafinteger | object≥ 1Minimum number of training cases in a leaf. Cannot exceed the number of cases in the training data.
max_depthinteger | object | null≥ 1Maximum depth of any tree. NULL imposes no limit.
num_features_subsampleinteger | object | null≥ 1Number of features subsampled when growing each tree. NULL uses every feature. Cannot exceed the number of features in the training data.
variance_forest_num_treesinteger | object≥ 0Number of trees in the conditional variance forest. 0 fits a homoskedastic model.
num_gfrinteger≥ 0Number of grow-from-root warm-start iterations.
num_burnininteger≥ 0Number of burn-in MCMC iterations.
num_mcmcinteger≥ 1Number of retained MCMC iterations per chain.
num_chainsinteger≥ 1Number of independent MCMC chains. Cannot exceed num_gfr unless num_gfr is 0.
keep_everyinteger≥ 1Thinning interval: retain one MCMC sample in every keep_every.
cutpoint_grid_sizeinteger≥ 1Maximum number of candidate cutpoints considered by the grow-from-root algorithm.
standardizebooleanCenter and scale the outcome before sampling.
linkstringLink function of the binary outcome model (classification only). "cloglog" cannot be combined with case weights.
one of
"probit""cloglog"seedinteger | nullRandom seed for the sampler. NULL leaves the sampler seeded by the system.
ifwboolean | objectInverse Frequency Weighting in classification.
Relationships
Used by