Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 13, 2016

Conversation

tguillemot
Copy link
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
Member

LGTM @ngoix This seems good now?

@ngoix
Copy link
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