How can I display a <IPython.core.display.HTML object> in spyder IPython console?

Evan picture Evan · Feb 27, 2019 · Viewed 8.5k times · Source

I am trying to run the code:

perm = PermutationImportance(clf).fit(X_test, y_test)
eli5.show_weights(perm)

to get an idea of which features are the most important in a model, but the output is

<IPython.core.display.HTML object> 

Any solutions or workarounds to this problem?

Thank you for your suggestions!

Answer

Carlos Cordoba picture Carlos Cordoba · Feb 27, 2019

(Spyder maintainer here) There are no workarounds nor solutions available at the moment (February 2019) to display web content in our consoles, sorry.

Note: We are considering how to make this possible, but most probably it won't be available until 2022.