Description Usage Arguments Value
This function proposes a move to a tree object and modifies the tree accrodingly.
1 2 | BARTr_train(X, Rj, treej, p_modify, Tmin, rule, sigma2, tau, base, power,
p_split, r)
|
X, p_modify, Tmin, rule, base, power, p_split, r |
as in ?BARTr |
Rj |
response for tree j |
treej |
jth tree object |
sigma2 |
variance of random error |
tau |
normal prior variance of a leaf node in a tree |
alpha: acceptance ratio; move: 1=grow, 2=prune, 3=change; new_treej: modified tree object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.