Closed dmronga closed 4 years ago
One of the Gaussians seems to be to far off from the data. In this case it makes sense to reinitialize it. I will take a look. A quick fix is this:
model.from_samples(frame.values, n_iter=10)
Should be fixed with #8
Hi,
When I fit a GMM to data, I sometimes get the following error:
The occurence of the error depends on the data and on the GMM parameters. E.g. it may happen that, with the same data, the error does not occur when I use a different random state.
I am working on master branch, with python2.7 and numpy version 1.11.0. The code to reproduce the error is
I attached the data file: data.txt
Best, Dennis