File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ def run(self):
193193 desc = f'{ self .residue } -K{ self .ncomp } ' ,
194194 position = self .loc , leave = False ):
195195
196- # compute probabilities (equation 9 )
196+ # compute probabilities (equation 7 )
197197 tmp = weights * rates * np .exp (np .outer (- rates , self .times )).T
198198 psample = (tmp .T / tmp .sum (axis = 1 )).T
199199
@@ -207,7 +207,7 @@ def run(self):
207207 Ns = np .array ([len (inds [i ]) for i in range (self .ncomp )])
208208 Ts = np .array ([self .times [inds [i ]].sum () for i in range (self .ncomp )])
209209
210- # sample posteriors (equations 7 and 8 )
210+ # sample posteriors (equations 8 and 9 )
211211 weights = rng .dirichlet (self .whypers + Ns )
212212 rates = rng .gamma (self .rhypers [:, 0 ]+ Ns , 1 / (self .rhypers [:, 1 ]+ Ts ))
213213
You can’t perform that action at this time.
0 commit comments