ipython deprecation warnings on h2o.init() call

214 views
Skip to first unread message

chris...@gmail.com

unread,
Jan 26, 2016, 8:36:46 AM1/26/16
to H2O Open Source Scalable Machine Learning - h2ostream
Hello! When running h2o.init() (python 2.7.11) I get a lot of deprecation warnings (I don't think it's affecting functionality, but should probably be cleaned up):

usr/local/lib/python2.7/site-packages/IPython/core/formatters.py:90: DeprecationWarning: DisplayFormatter._ipython_display_formatter_default is deprecated: use @default decorator instead.

(this is in ipython/jupyter notebook)
ipython 4.0.2 and notebook 4.1.0

Anyone else seen this? Is it just me?

Thanks

Erin LeDell

unread,
Jan 26, 2016, 4:41:31 PM1/26/16
to chris...@gmail.com, H2O Open Source Scalable Machine Learning - h2ostream
Hi,
I have not seen this. I am running Python 2.7.10, H2O 3.6.0.8 and
Jupyter 4.0.6.

What version of H2O are you running?

-Erin
--
Erin LeDell Ph.D.
Statistician & Machine Learning Scientist | H2O.ai

victor....@gmail.com

unread,
Feb 4, 2016, 8:02:13 AM2/4/16
to H2O Open Source Scalable Machine Learning - h2ostream, chris...@gmail.com
I'm also having the same warning:
c:\users\myuser\appdata\local\continuum\anaconda3\lib\site-packages\IPython\core\formatters.py:92: DeprecationWarning: DisplayFormatter._ipython_display_formatter_default is deprecated: use @default decorator instead.
def _ipython_display_formatter_default(self):
Run on a Windows 7, IPython 4.1.0rc2. The version of the notebook server is 4.1.0. Python 3.5.1 |Anaconda 2.4.1 (64-bit)

chris...@gmail.com

unread,
Mar 3, 2016, 5:10:53 PM3/3/16
to H2O Open Source Scalable Machine Learning - h2ostream, chris...@gmail.com
I'm using h2o 3.8.0.3.

I get it in both python 2.7.11 and 3.5.1 (using 3.5.1 now).

Still no ideas on this one? I get the deprecation warnings on importing h2o as well.

chris...@gmail.com

unread,
Mar 3, 2016, 5:15:10 PM3/3/16
to H2O Open Source Scalable Machine Learning - h2ostream, chris...@gmail.com
On Thursday, March 3, 2016 at 4:10:53 PM UTC-6, chris...@gmail.com wrote:
> I'm using h2o 3.8.0.3.
>
> I get it in both python 2.7.11 and 3.5.1 (using 3.5.1 now).
>
> Still no ideas on this one? I get the deprecation warnings on importing h2o as well.
>


an extra note... it seems to effect non-h2o calls as well. is h2o masking something? doing a simple pandas df.head() returns the message below (only after importing h2o):

/usr/local/lib/python3.5/site-packages/IPython/core/formatters.py:90: DeprecationWarning: DisplayFormatter._ipython_display_formatter_default is deprecated: use @default decorator instead.
def _ipython_display_formatter_default(self):
/usr/local/lib/python3.5/site-packages/IPython/core/formatters.py:667: DeprecationWarning: PlainTextFormatter._singleton_printers_default is deprecated: use @default decorator instead.
def _singleton_printers_default(self):

j...@sharpe.com

unread,
Apr 20, 2016, 10:20:46 AM4/20/16
to H2O Open Source Scalable Machine Learning - h2ostream, chris...@gmail.com
Bump on this. I'm seeing deprecation warnings below from h2o.init using an up to date anaconda3 and h2o 3.8.2.2.

/opt/anaconda3/lib/python3.5/site-packages/IPython/core/formatters.py:98: DeprecationWarning:

DisplayFormatter._formatters_default is deprecated: use @default decorator instead.

/opt/anaconda3/lib/python3.5/site-packages/IPython/core/formatters.py:677: DeprecationWarning:

PlainTextFormatter._deferred_printers_default is deprecated: use @default decorator instead.

/opt/anaconda3/lib/python3.5/site-packages/IPython/core/formatters.py:669: DeprecationWarning:

PlainTextFormatter._singleton_printers_default is deprecated: use @default decorator instead.

/opt/anaconda3/lib/python3.5/site-packages/IPython/core/formatters.py:672: DeprecationWarning:

PlainTextFormatter._type_printers_default is deprecated: use @default decorator instead.

/opt/anaconda3/lib/python3.5/site-packages/IPython/core/formatters.py:669: DeprecationWarning:

PlainTextFormatter._singleton_printers_default is deprecated: use @default decorator instead.

/opt/anaconda3/lib/python3.5/site-packages/IPython/core/formatters.py:672: DeprecationWarning:

PlainTextFormatter._type_printers_default is deprecated: use @default decorator instead.

/opt/anaconda3/lib/python3.5/site-packages/IPython/core/formatters.py:677: DeprecationWarning:

PlainTextFormatter._deferred_printers_default is deprecated: use @default decorator instead.

Reply all
Reply to author
Forward
0 new messages