aboutsummaryrefslogtreecommitdiff
path: root/beliefs/models/BernoulliOrModel.py
diff options
context:
space:
mode:
Diffstat (limited to 'beliefs/models/BernoulliOrModel.py')
-rw-r--r--beliefs/models/BernoulliOrModel.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/beliefs/models/BernoulliOrModel.py b/beliefs/models/BernoulliOrModel.py
deleted file mode 100644
index bf2b44c..0000000
--- a/beliefs/models/BernoulliOrModel.py
+++ /dev/null
@@ -1,17 +0,0 @@
-from beliefs.models.BayesianModel import BayesianModel
-from beliefs.types.BernoulliOrNode import BernoulliOrNode
-
-
-class BernoulliOrModel(BayesianModel):
- """
- BernoulliOrModel stores node instances of BernoulliOrNodes (Bernoulli
- variables associated with an OR conditional probability distribution).
- """
- def __init__(self, edges, nodes=None):
- """
- Input:
- edges: an edge list, e.g. [(parent1, child1), (parent1, child2)]
- """
- if nodes is None:
- nodes = self.create_nodes(edges, node_class=BernoulliOrNode)
- super().__init__(edges, nodes_dict=nodes)