Skip to content

Particle Gibbs sampler for Bayesian additive regression trees (BART).

Notifications You must be signed in to change notification settings

GStechschulte/bart-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bart-rs

Rust implementation of PyMC-BART.

Usage

...

Modifications

The core Particle Gibbs (PG) sampling algorithm for Bayesian Additive Regression Trees (BART) remains the same in this Rust implementation. What differs is the choice of data structure to represent the Binary Decision Tree.

A DecisionTree structure is implemented as a number of parallel vectors. The i-th element of each vector holds information about node i. Node 0 is the tree's root. Some of the arrays only apply to either leaves or split nodes. In this case, the values of the nodes of the other vector is arbitrary. For example, feature and threshold vectors only apply to split nodes. The values for leaf nodes in these arrays are therefore arbitrary.

About

Particle Gibbs sampler for Bayesian additive regression trees (BART).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published