aboutsummaryrefslogtreecommitdiff
path: root/beliefs/factors/bernoulli_and_cpd.py
diff options
context:
space:
mode:
authorCathy Yeh <cathy@driver.xyz>2017-12-13 18:47:32 -0800
committerCathy Yeh <cathy@driver.xyz>2017-12-14 15:39:52 -0800
commit7053fefc6f9e43b1e252d1f551401a7a70b52e93 (patch)
tree2b232454fbc71f4acc877cbf03f61565bae88b98 /beliefs/factors/bernoulli_and_cpd.py
parent10f5c49ea6767f54d59f88eb4064bb4959d14c6b (diff)
downloadbeliefs-7053fefc6f9e43b1e252d1f551401a7a70b52e93.tar.gz
beliefs-7053fefc6f9e43b1e252d1f551401a7a70b52e93.tar.bz2
beliefs-7053fefc6f9e43b1e252d1f551401a7a70b52e93.zip
cleanup print statements, stale comments, minor TODOs
Diffstat (limited to 'beliefs/factors/bernoulli_and_cpd.py')
-rw-r--r--beliefs/factors/bernoulli_and_cpd.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/beliefs/factors/bernoulli_and_cpd.py b/beliefs/factors/bernoulli_and_cpd.py
index 15802c2..291398f 100644
--- a/beliefs/factors/bernoulli_and_cpd.py
+++ b/beliefs/factors/bernoulli_and_cpd.py
@@ -12,9 +12,10 @@ class BernoulliAndCPD(TabularCPD):
"""
def __init__(self, variable, parents=[]):
"""
- Args:
- variable: int or string
- parents: optional, list of int and/or strings
+ Args
+ variable: int or string
+ parents: list,
+ (optional) list of int and/or strings
"""
super().__init__(variable=variable,
variable_card=2,