Skip to content

Commit 6eb04b0

Browse files
authored
Minor update to mixture docs.
Just wanted to make it super clear to a user that they only have to pass in sd or tau but not both.
1 parent cad61ac commit 6eb04b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pymc3/distributions/mixture.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ class NormalMixture(Mixture):
165165
the component standard deviations
166166
tau : array of floats
167167
the component precisions
168+
169+
Note: You only have to pass in sd or tau, but not both.
168170
"""
169171
def __init__(self, w, mu, *args, **kwargs):
170172
_, sd = get_tau_sd(tau=kwargs.pop('tau', None),

0 commit comments

Comments
 (0)