rbartpackages.bartMachine.set_bart_machine_num_cores

rbartpackages.bartMachine.set_bart_machine_num_cores(num_cores, *, verbose=True)[source]

Set the number of threads bartMachine uses to fit the model.

A package-global setting that persists across fits.

Parameters:
  • num_cores (int) – Number of threads to use.

  • verbose (bool, default: True) – Whether to print a confirmation message to the R console.

Return type:

None