jti and sparta: Time and Space Efficient Packages for Model-Based Prediction in Large Bayesian Networks
Dublin Core
Title
jti and sparta: Time and Space Efficient Packages for Model-Based Prediction in Large Bayesian Networks
Subject
Bayesian networks, junction trees, sparse tables, R, C++.
Description
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.
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.
Creator
Mads Lindskou
Source
https://www.jstatsoft.org/article/view/v111i02
Publisher
Aalborg University
Date
November 2024
Contributor
Fajar bagus W
Format
PDF
Language
English
Type
Text
Files
Collection
Citation
Mads Lindskou, “jti and sparta: Time and Space Efficient Packages for Model-Based Prediction in Large Bayesian Networks,” Repository Horizon University Indonesia, accessed April 4, 2025, https://repository.horizon.ac.id/items/show/8346.