8.28 BART algorithm: iteration 2 and on
In subsequent iterations, BART updates each of the K trees one at a time
In the bth iteration to update the kth tree, we subtract from each response value the predictions from all but the kth tree, to obtain a partial residual:
ri=yi−∑k′<kˆfbk′(xi)−∑k′>kˆfb−1k′(xi)
for the ith observation, i=1,…,n
Rather than fitting a new tree to this partial residual, BART chooses a perturbation to the tree from a previous iteration ˆfb−1k favoring perturbations that improve the fit to the partial residual
To perturb trees:
change the structure of the tree by adding/pruning branches
change the prediction in each terminal node of the tree
The output of BART is a collection of prediction models:
ˆfb(x)=∑Kk=1ˆfbk(x)
for b=1,2,…,B