Learn R Programming

bartMachine (version 1.3.4.1)

set_bart_machine_num_cores: 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)

Value

None.

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.

Author

Adam Kapelner and Justin Bleich

See Also

bart_machine_num_cores

Examples

Run this code
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