Skip to content
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

[MRG+1] supress deprecation warnings for non_negative option #9356

Merged
merged 3 commits into from
Jul 15, 2017

Conversation

minghui-liu
Copy link
Contributor

Reference Issue

Fixes #9319

What does this implement/fix? Explain your changes.

use sklearn.utils. testing.ignore_warnings to supress deprecation warnings for non_negative option in some Vectorizer tests.

Any other comments?

No.

@minghui-liu minghui-liu changed the title supress deprecation warnings for non_negative option [MRG] supress deprecation warnings for non_negative option Jul 13, 2017
@jnothman
Copy link
Member

Could you copy the logs of running nose tests over this module to check that it's warning free?

@jnothman
Copy link
Member

Please

@minghui-liu
Copy link
Contributor Author

Sure. Here is the output of running nosetests under feature_extraction/tests

[minghui@localhost tests]$ pwd
/home/minghui/Projects/scikit-learn/sklearn/feature_extraction/tests
[minghui@localhost tests]$ nosetests
.............................................................................
----------------------------------------------------------------------
Ran 77 tests in 5.924s

OK

@jnothman
Copy link
Member

LGTM

@jnothman jnothman changed the title [MRG] supress deprecation warnings for non_negative option [MRG+1] supress deprecation warnings for non_negative option Jul 15, 2017
@jnothman jnothman added this to the 0.19 milestone Jul 15, 2017
@agramfort agramfort merged commit 1f5d22b into scikit-learn:master Jul 15, 2017
@agramfort
Copy link
Member

thx @Kevinlmh

jnothman pushed a commit to jnothman/scikit-learn that referenced this pull request Aug 6, 2017
…learn#9356)

* supress deprecation warnings for non_negative option

* more non_negative option deprecation warnings

* fix flake8 warning
dmohns pushed a commit to dmohns/scikit-learn that referenced this pull request Aug 7, 2017
…learn#9356)

* supress deprecation warnings for non_negative option

* more non_negative option deprecation warnings

* fix flake8 warning
dmohns pushed a commit to dmohns/scikit-learn that referenced this pull request Aug 7, 2017
…learn#9356)

* supress deprecation warnings for non_negative option

* more non_negative option deprecation warnings

* fix flake8 warning
NelleV pushed a commit to NelleV/scikit-learn that referenced this pull request Aug 11, 2017
…learn#9356)

* supress deprecation warnings for non_negative option

* more non_negative option deprecation warnings

* fix flake8 warning
paulha pushed a commit to paulha/scikit-learn that referenced this pull request Aug 19, 2017
…learn#9356)

* supress deprecation warnings for non_negative option

* more non_negative option deprecation warnings

* fix flake8 warning
AishwaryaRK pushed a commit to AishwaryaRK/scikit-learn that referenced this pull request Aug 29, 2017
…learn#9356)

* supress deprecation warnings for non_negative option

* more non_negative option deprecation warnings

* fix flake8 warning
maskani-moh pushed a commit to maskani-moh/scikit-learn that referenced this pull request Nov 15, 2017
…learn#9356)

* supress deprecation warnings for non_negative option

* more non_negative option deprecation warnings

* fix flake8 warning
jwjohnson314 pushed a commit to jwjohnson314/scikit-learn that referenced this pull request Dec 18, 2017
…learn#9356)

* supress deprecation warnings for non_negative option

* more non_negative option deprecation warnings

* fix flake8 warning
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.

Vectorizer tests use deprecated non_negative=False
3 participants