Package: jti 1.0.0

Mads Lindskou

jti: Junction Tree Inference

Minimal and memory efficient implementation of the junction tree algorithm using the Lauritzen-Spiegelhalter scheme; S. L. Lauritzen and D. J. Spiegelhalter (1988) <https://www.jstor.org/stable/2345762?seq=1>. The jti package is part of the paper <doi:10.18637/jss.v111.i02>.

Authors:Mads Lindskou [aut, cre]

jti_1.0.0.tar.gz
jti_1.0.0.tar.gz(r-4.5-noble)jti_1.0.0.tar.gz(r-4.4-noble)
jti_1.0.0.tgz(r-4.4-emscripten)jti_1.0.0.tgz(r-4.3-emscripten)
jti.pdf |jti.html
jti/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/mlindsk/jti/issues

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

cpp

2.70 score 8 scripts 280 downloads 26 exports 14 dependencies

Last updated 2 days agofrom:403983ea60. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 25 2024
R-4.5-linux-x86_64OKNov 25 2024

Exports:bnfit_to_cptscompilecpt_listdim_namesget_clique_rootget_clique_root_idxget_cliquesget_graphget_triang_graphhas_inconsistenciesinitializejtjt_leavesjt_nbinary_opsjt_parentsmpdmpepot_listpropagatequery_beliefquery_evidencesend_messagesset_evidencesim_data_from_bnsim_data_from_dmrftriangulate

Dependencies:clicpp11glueigraphlatticelifecyclemagrittrMatrixpkgconfigRcppRcppArmadillorlangspartavctrs

Using jti

Rendered fromusing_jti.Rmdusingknitr::rmarkdownon Nov 25 2024.

Last update: 2024-11-23
Started: 2022-04-12

Readme and manuals

Help Manual

Help pageTopics
jti: Junction Tree Inferencejti-package jti
Asiaasia
Asia2asia2
bnfit to cptsbnfit_to_cpts
Compile informationcompile compile.cpt_list
Conditional probability listcpt_list cpt_list.data.frame cpt_list.list
Various gettersdim_names dim_names.charge dim_names.cpt_list dim_names.jt has_inconsistencies has_inconsistencies.charge has_inconsistencies.jt names.charge names.cpt_list names.jt
Return the cliques of a junction treeget_cliques get_cliques.charge get_cliques.jt get_cliques.pot_list get_clique_root get_clique_root.jt get_clique_root_idx get_clique_root_idx.jt
Get graphget_graph get_graph.charge get_graph.cpt_list
Get triangulated graphget_triang_graph
Initializeinitialize initialize.charge
Junction Treejt jt.charge
Query Parents or Leaves in a Junction Treejt_leaves jt_leaves.jt jt_parents jt_parents.jt
Number of Binary Operationsjt_nbinary_ops jt_nbinary_ops.triangulation
Maximal Prime Decompositionmpd mpd.cpt_list mpd.matrix
Most Probable Explanationmpe mpe.jt
A plot method for junction treesplot.charge
A plot method for junction treesplot.jt
A check and extraction of clique potentials from a Markov random field to be used in the junction tree algorithmpot_list pot_list.data.frame
A print method for compiled objectsprint.charge
A print method for cpt listsprint.cpt_list
A print method for junction treesprint.jt
Propagation of junction treespropagate propagate.jt
Query probabilitiesquery_belief query_belief.jt
Query Evidencequery_evidence query_evidence.jt
Send Messages in a Junction Treesend_messages
Enter Evidenceset_evidence set_evidence.charge set_evidence.jt
Simulate data from a Bayesian networksim_data_from_bn
Simulate data from a decomposable discrete markov random fieldsim_data_from_dmrf
Triangulate a Bayesian networktriangulate triangulate.cpt_list