powered by
Sets the number of cores to be used for all parallelized BART functions.
set_bart_machine_num_cores(num_cores, verbose = TRUE)
None.
Number of cores to use. If the number of cores is more than 1, setting the seed during model construction cannot be deterministic.
If TRUE, prints the updated core count.
Adam Kapelner and Justin Bleich
bart_machine_num_cores
if (FALSE) { #set all parallelized functions to use 4 cores set_bart_machine_num_cores(4) }
Run the code above in your browser using DataLab