bartz.mcmcloop¶
Functions that implement the full BART posterior MCMC loop.
Running the MCMC¶
|
Run the MCMC for the BART posterior. |
|
Return value of |
|
MCMC trace with only diagnostic values. |
|
MCMC trace with trees and diagnostic values. |
Evaluating the trace¶
|
Compute predictions for all iterations of the BART MCMC. |
|
Count how many times each predictor is used in each MCMC state. |
|
Structural type of the traces accepted by |
Progress callbacks¶
The entry points are make_print_callback and make_tqdm_callback.
|
Prepare a progress-printing callback for |
|
Prepare a |
|
Callback type for |
|
Print a dot and/or a report periodically during the MCMC. |
|
Advance a |
|
State for |
|
State for |
|
Running average of the forest diagnostics shown during the MCMC. |
|
Forest diagnostics produced by |