StochTree: BART-based modeling in R and Python
Andrew Herren, P. Richard Hahn, Jared Murray, Carlos Carvalho

TL;DR
StochTree is a versatile C++ library offering Bayesian tree ensemble models with R and Python bindings, supporting advanced features like heteroskedasticity, random effects, and custom model configurations.
Contribution
It introduces a comprehensive, interoperable library for Bayesian tree models with flexible fit handling and lower-level access for custom modeling in R and Python.
Findings
Supports a wide range of Bayesian tree models.
Enables saving, reinitializing, and passing fits between R and Python.
Facilitates custom MCMC routines for nonstandard models.
Abstract
stochtree is a C++ library for Bayesian tree ensemble models such as BART and Bayesian Causal Forests (BCF), as well as user-specified variations. Unlike previous BART packages, stochtree provides bindings to both R and Python for full interoperability. stochtree boasts a more comprehensive range of models relative to previous packages, including heteroskedastic forests, random effects, and treed linear models. Additionally, stochtree offers flexible handling of model fits: the ability to save model fits, reinitialize models from existing fits (facilitating improved model initialization heuristics), and pass fits between R and Python. On both platforms, stochtree exposes lower-level functionality, allowing users to specify models incorporating Bayesian tree ensembles without needing to modify C++ code. We illustrate the use of stochtree in three settings: i) straightfoward applications…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBayesian Modeling and Causal Inference · Statistical Methods and Bayesian Inference · Data Analysis with R
