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 e01a10e commit c54e3fbCopy full SHA for c54e3fb
src/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