rbartpackages.bartMachine¶
Wrapper for the R package bartMachine (on CRAN).
bartMachine wants data frames, so this module requires the pandas extra.
Importing this module loads bartMachine’s R namespace, which starts the JVM.
JVM options can only be set before that: the import defaults the heap size
limit to 5 GB and enables the Vector API module bartMachine uses on JDK 16+;
to customize, set R’s java.parameters option before the first import.
Model fitting¶
|
Fit BART to continuous or binary outcomes. |
Posterior queries¶
|
Posterior draws of f(x) at the rows of |
|
Posterior draws of the error variance (regression fits only). |
Parallelism¶
Return the number of threads |
|
|
Set the number of threads |
Supporting types¶
Type of |