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 c723e6fCopy full SHA for c723e6f
src/hmmlearn/_emissions.py
@@ -148,7 +148,8 @@ 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 \
152
+ self._needs_sufficient_statistics_for_covars():
153
stats['post'] += posteriors.sum(axis=0)
154
stats['obs'] += posteriors.T @ X
155
0 commit comments