A More Flexible BART Model

Implements a faster and more expressive version of Bayesian Additive Regression Trees that, at a high level, approximates unknown functions as a weighted sum of binary regression tree ensembles. Supports fitting (generalized) linear varying coefficient models that posits a linear relationship between the inverse link and some covariates but allows that relationship to change as a function of other covariates. Additionally supports fitting heteroscedastic BART models, in which both the mean and log-variance are approximated with separate regression tree ensembles. A formula interface allows for different splitting variables to be used in each ensemble. For more details see Deshpande (2025) and Deshpande et al. (2026) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("flexBART")

2.0.6 by Sameer K. Deshpande, 3 days ago


https://skdeshpande91.github.io/flexBART/


Browse source code at https://github.com/cran/flexBART


Authors: Sameer K. Deshpande [aut, cre] (ORCID: , George Perrett [aut] , Ryan Yee [aut] , Cecilia Balocchi [aut] , Jennifer Hill [aut]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports Rcpp, glmnet, methods

Suggests igraph, knitr, quarto

Linking to Rcpp, RcppArmadillo


See at CRAN