XBART
XBART: Accelerated Bayesian Additive Regression Trees
Composition No. III, with Red, Blue, Yellow, and Black, Piet
Mondrian (1929)
The beta version is posted on my website, will be upload to CRAN and pip soon. You are welcome to test the code. Bug reports are valuable and highly appreciated.
1. Installing the pacakge
Install R package from Github
The pacakge relies onRcpp
and RcppArmadillo
.Dowload it from Github.
library(dev_tools)
install_github("jingyuhe/xbart")
C++ 11 compiler is required, please install Rtools (Windows) or Xcode and Command Line Tools (Mac).
Install python package from pip
pip install XBART
or pip3 install XBART
.