Skip to content

[MRG] Fix the negative sign of the initial lower bound#7180

Merged
agramfort merged 1 commit intoscikit-learn:masterfrom
tguillemot:gmm-fix
Aug 13, 2016
Merged

[MRG] Fix the negative sign of the initial lower bound#7180
agramfort merged 1 commit intoscikit-learn:masterfrom
tguillemot:gmm-fix

Conversation

@tguillemot
Copy link
Copy Markdown
Contributor

This PR fixes the negative value of the lower bound (-np.infty) of the GaussianMixture to ensure the lower bound differences between each iterations is always positive.

In practice, it doesn't change the results of the Gaussian Mixture.

The only way to add a test for that is to store the useless difference of lower bound between two iterations. As the sign of the initial lower bound value does not change the result, I think it's not add a test for that.

@raghavrv
Copy link
Copy Markdown
Member

LGTM @ngoix This seems good now?

@ngoix
Copy link
Copy Markdown
Contributor

ngoix commented Aug 11, 2016

Yes. @tguillemot you can check this with verbose>0 right?

@agramfort agramfort merged commit 1f182cc into scikit-learn:master Aug 13, 2016
TomDLT pushed a commit to TomDLT/scikit-learn that referenced this pull request Oct 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants