.. _bin_bn:
bin_bn
----------
.. rubric:: Binary BN
.. list-table::
* - Package
- Benchpress
* - Version
-
* - Language
- `R `__
* - Docs
-
* - Paper
- :footcite:t:`rios2025benchpress`
* - Graph type
- `DAG `__
* - Docker
- `bpimages/benchpress:2.1.0 `__
* - Module
- `bin_bn `__
.. rubric:: 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 :math:`Y_i` and parent configuration :math:`pa(Y_i)` are distributed as
.. math::
P(Y_i=0 | pa(y_i) ) \sim \mathrm{Unif}([a, b]),
where :math:`(a,b) \in [0,1]^2, a`_
.. See `JSON schema `_
.. rubric:: Example
.. code-block:: json
[
{
"id": "binbn",
"min": 0.1,
"max": 0.9
}
]
.. footbibliography::