Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@glemaitre
Copy link
Member

Reference Issues/PRs

Related to #10740

@glemaitre glemaitre changed the title FIX make n_iter_ being the number of iteration performed [MRG] FIX make n_iter_ being the number of iteration performed Apr 23, 2018
@glemaitre
Copy link
Member Author

ping @jnothman @lesteve

Copy link
Member

@rth rth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment below otherwise LGTM.

sys.stdout = old_stdout


def test_gaussian_mixture_n_iter():
Copy link
Member

@rth rth Apr 23, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe merge both test functions to a pytest parametrized test under sklearn/mixture/tests/test_mixture.py

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or actually somewhere under common tests and run it only for these two estimators for now?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering about it and I think that this is good idea.
We should make an issue to make a common test across the estimator. But we need different data generation so I will make this tests for the moment.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's also hard to make sure that the estimator does not converge...

@rth rth changed the title [MRG] FIX make n_iter_ being the number of iteration performed [MRG+1] FIX make n_iter_ being the number of iteration performed Apr 23, 2018
@jnothman jnothman merged commit a380670 into scikit-learn:master Apr 23, 2018
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.

3 participants