Skip to content

Latest commit

 

History

History
64 lines (39 loc) · 1.5 KB

bin_bn.rst

File metadata and controls

64 lines (39 loc) · 1.5 KB

bin_bn

Binary BN

Package Benchpress
Version  
Language R
Docs  
Paper :footcite:t:`rios2021benchpress`
Graph type DAG
Docker bpimages/benchpress:2.1.0
Module bin_bn

Description

An object of this module defines a binary Bayesian network (where the nodes are binary variables) by sampling its conditional probability tables. More specifically, the conditional probability tables for each variable Y_i and parent configuration pa(Y_i) are distributed as

P(Y_i=0 | pa(y_i) ) \sim \mathrm{Unif}([a, b]),

where (a,b) \in [0,1]^2, a<b and \mathrm{Unif}(c) denotes the uniform distribution on the set c.

Example

[
  {
    "id": "binbn",
    "min": 0.1,
    "max": 0.9
  }
]
.. footbibliography::