Package: dbarts 0.9-28

dbarts: Discrete Bayesian Additive Regression Trees Sampler

Fits Bayesian additive regression trees (BART; Chipman, George, and McCulloch (2010) <doi:10.1214/09-AOAS285>) while allowing the updating of predictors or response so that BART can be incorporated as a conditional model in a Gibbs/Metropolis-Hastings sampler. Also serves as a drop-in replacement for package 'BayesTree'.

Authors:Vincent Dorie [aut, cre], Hugh Chipman [aut], Robert McCulloch [aut], Armon Dadgar [ctb], R Core Team [ctb], Guido U Draheim [ctb], Maarten Bosmans [ctb], Christophe Tournayre [ctb], Michael Petch [ctb], Rafael de Lucena Valle [ctb], Steven G. Johnson [ctb], Matteo Frigo [ctb], John Zaitseff [ctb], Todd Veldhuizen [ctb], Luc Maisonobe [ctb], Scott Pakin [ctb], Daniel Richard G. [ctb]

dbarts_0.9-28.tar.gz
dbarts_0.9-28.zip(r-4.5)dbarts_0.9-28.zip(r-4.4)dbarts_0.9-28.zip(r-4.3)
dbarts_0.9-28.tgz(r-4.4-x86_64)dbarts_0.9-28.tgz(r-4.4-arm64)dbarts_0.9-28.tgz(r-4.3-x86_64)dbarts_0.9-28.tgz(r-4.3-arm64)
dbarts_0.9-28.tar.gz(r-4.5-noble)dbarts_0.9-28.tar.gz(r-4.4-noble)
dbarts_0.9-28.tgz(r-4.4-emscripten)dbarts_0.9-28.tgz(r-4.3-emscripten)
dbarts.pdf |dbarts.html
dbarts/json (API)
NEWS

# Install 'dbarts' in R:
install.packages('dbarts', repos = c('https://vdorie.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/vdorie/dbarts/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

10.80 score 56 stars 11 packages 412 scripts 3.4k downloads 2 mentions 14 exports 0 dependencies

Last updated 23 hours agofrom:c10b43678b. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 21 2024
R-4.5-win-x86_64OKNov 21 2024
R-4.5-linux-x86_64OKNov 21 2024
R-4.4-win-x86_64OKNov 21 2024
R-4.4-mac-x86_64OKNov 21 2024
R-4.4-mac-aarch64OKNov 21 2024
R-4.3-win-x86_64OKNov 21 2024
R-4.3-mac-x86_64OKNov 21 2024
R-4.3-mac-aarch64OKNov 21 2024

Exports:bartbart2dbartsdbartsControldbartsDataextractguessNumCoresmakeindmakeModelMatrixFromDataFramemakeTestModelMatrixpd2bartpdbartrbart_vixbart

Dependencies:

Building a Gibbs Sampler with dbarts

Rendered fromgibbs_sampler_mixture_model.Rmdusingknitr::rmarkdownon Nov 21 2024.

Last update: 2020-12-21
Started: 2020-12-21

Working with dbarts Saved Trees

Rendered fromworking_with_saved_trees.Rmdusingknitr::rmarkdownon Nov 21 2024.

Last update: 2022-03-27
Started: 2022-01-24

Readme and manuals

Help Manual

Help pageTopics
Bayesian Additive Regression Treesbart bart2 extract extract.bart fitted.bart plot.bart predict.bart residuals.bart
Discrete Bayesian Additive Regression Trees Samplerdbarts
Discrete Bayesian Additive Regression Trees Sampler ControldbartsControl
Discrete Bayesian Additive Regression Trees Sampler DatadbartsData
Class "dbartsSampler" of Discrete Bayesian Additive Regression Trees SamplerdbartsSampler dbartsSampler-class \S4method{copy}{dbartsSampler} \S4method{plotTree}{dbartsSampler} \S4method{predict}{dbartsSampler} \S4method{printTrees}{dbartsSampler} \S4method{run}{dbartsSampler} \S4method{sampleNodeParametersFromPrior}{dbartsSampler} \S4method{sampleTreesFromPrior}{dbartsSampler} \S4method{setControl}{dbartsSampler} \S4method{setData}{dbartsSampler} \S4method{setModel}{dbartsSampler} \S4method{setOffset}{dbartsSampler} \S4method{setPredictor}{dbartsSampler} \S4method{setResponse}{dbartsSampler} \S4method{setSigma}{dbartsSampler} \S4method{setTestOffset}{dbartsSampler} \S4method{setTestPredictorAndOffset}{dbartsSampler} \S4method{setTestPredictor}{dbartsSampler} \S4method{show}{dbartsSampler}
Guess Number of CoresguessNumCores
Make Model Matrix from Data Framemakeind makeModelMatrixFromDataFrame makeTestModelMatrix
Partial Dependence Plots for BARTpd2bart pdbart plot.pd2bart plot.pdbart
Bayesian Additive Regression Trees with Random Effectsextract.rbart fitted.rbart plot.rbart predict.rbart rbart_vi residuals.rbart
Crossvalidation For Bayesian Additive Regression Treesxbart