jti and sparta: Time and Space Efficient Packages For Model Based Prediction in Large Bayesian Networks

Mads Lindskou, Torben Tvedebrink, Svante Eriksen, Søren Højsgaard, Niels Morling

Research output: Contribution to journalJournal articleResearchpeer-review

Abstract

A Bayesian network is a multivariate (potentially very high dimensional) probabilistic model formed by combining lower-dimensional components. In Bayesian networks, the computation of conditional probabilities is fundamental for model-based predictions. This is usually done based on message passing algorithms that utilize conditional independence structures. In this paper, we deal with a specific message passing algorithm that exploits a second structure called a junction tree and hence is known as the junction tree algorithm (JTA). In Bayesian networks for discrete variables with finite state spaces, there is a fundamental problem in high dimensions: A discrete distribution is represented by a table of values, and in high dimensions, such tables can become prohibitively large. In JTA, such tables must be multiplied which can lead to even larger tables. The jti package meets this challenge by using the package sparta by implementing methods that efficiently handle multiplication and marginalization of sparse tables through JTA. The two packages are written in the R programming language and are freely available from the Comprehensive R Archive Network.
Original languageEnglish
JournalJournal of Statistical Software
Pages (from-to)1-24
ISSN1548-7660
DOIs
Publication statusPublished - 30 Nov 2024

Keywords

  • Bayesian networks
  • junction trees
  • sparse tables
  • R
  • C++

Fingerprint

Dive into the research topics of 'jti and sparta: Time and Space Efficient Packages For Model Based Prediction in Large Bayesian Networks'. Together they form a unique fingerprint.

Cite this