Last active
January 31, 2018 01:52
-
-
Save cpdean/3f18c04cb41973d3f62511a331741b4c to your computer and use it in GitHub Desktop.
setting global logging for your users is a terrible transgression
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(tmp-d03b8292d70950f0) - - - | |
tmp-d03b8292d70950f0 0 | |
- ❯❯❯ python | |
Python 2.7.13 (default, Jul 18 2017, 09:17:00) | |
[GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import warnings | |
>>> warnings.filterwarnings('ignore') | |
>>> import sklearn.cross_validation | |
/Users/cdean/.virtualenvs/tmp-d03b8292d70950f0/lib/python2.7/site-packages/sklearn/cross_validation.py:41: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20. | |
"This module will be removed in 0.20.", DeprecationWarning) | |
>>> | |
- ❯❯❯ python | |
Python 2.7.13 (default, Jul 18 2017, 09:17:00) | |
[GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import warnings | |
>>> warnings.filterwarnings('ignore') | |
>>> def nop(*args, **kwargs): | |
... """ riddle me this, jnothman """ | |
... pass | |
... | |
>>> warnings.filterwarnings = nop | |
>>> import sklearn.cross_validation | |
>>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment