set_bart_machine_num_cores {bartMachine} | R Documentation |
Set the Number of Cores for BART
Description
Sets the number of cores to be used for all parallelized BART functions.
Usage
set_bart_machine_num_cores(num_cores)
Arguments
num_cores |
Number of cores to use. If the number of cores is more than 1, setting the seed during model construction cannot be deterministic. |
Value
None.
Author(s)
Adam Kapelner and Justin Bleich
See Also
Examples
## Not run:
#set all parallelized functions to use 4 cores
set_bart_machine_num_cores(4)
## End(Not run)
[Package bartMachine version 1.3.4.1 Index]