sparta: Sparse Tables

R build status

About

The sparta package implements new methods (multiplication, marginalization etc.) for dealing with conditional probability tables (CPTs) and are especially useful when the CPTs are sparse.

Installation

install.packages("sparta")
devtools::install_github("mlindsk/sparta", build_vignettes = FALSE)

See Also

The jti, https://github.com/mlindsk/jti, package (on CRAN) implements belief propagation via the Junction Tree Algorithm which relies heavily on sparta tables for extremely fast operations.