I am currently working with Scikit Learn and participated in the next issue, trying to train a Gaussian HMM:
File "/Library/Python/2.7/site-packages/sklearn/hmm.py", line 443, customized
self._do_mstep(stats, self.params)
File "/Library/Python/2.7/site-packages/sklearn/hmm.py", line 798, in _do_mstep
super(GaussianHMM, self)._do_mstep(stats, params)
File "/Library/Python/2.7/site-packages/sklearn/hmm.py", line 580, in _do_mstep
np.maximum(self.startprob_prior - 1.0 + stats['start'], 1e-20))
File "/Library/Python/2.7/site-packages/sklearn/hmm.py", line 476, in _set_startprob
raise ValueError('startprob must sum to 1.0')
ValueError: startprob should sum up to 1.0
If I exclude some functions (less than 13 functions for observation), it still works. I checked that all the input is valid and consists of only 2d numpy.float64s 2d arrays for each training example. Any ideas on what's going wrong? Thanks!