We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba62fed commit b756565Copy full SHA for b756565
lib/hmmlearn/_emissions.py
@@ -148,7 +148,7 @@ def _accumulate_sufficient_statistics(
148
fwdlattice=fwdlattice,
149
bwdlattice=bwdlattice)
150
151
- if self._needs_sufficient_statistics_for_mean():
+ if self._needs_sufficient_statistics_for_mean() or self._needs_sufficient_statistics_for_covars():
152
stats['post'] += posteriors.sum(axis=0)
153
stats['obs'] += posteriors.T @ X
154
0 commit comments