如何显示< IPython.core.display.HTML对象>在spyder IPython控制台中? [英] How can I display a <IPython.core.display.HTML object> in spyder IPython console?

查看:221
本文介绍了如何显示< IPython.core.display.HTML对象>在spyder IPython控制台中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试运行代码:

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?

谢谢您的建议!

推荐答案

(此处为Spyder维护程序)目前(2019年2月)没有可用的解决方法或解决方案来在我们的控制台中显示Web内容,抱歉.

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

注意:我们正在考虑如何实现这一目标,但很可能要到2021年才可用.

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

这篇关于如何显示&lt; IPython.core.display.HTML对象&gt;在spyder IPython控制台中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆