Python 3 ImportError:无法导入名称“max熵”

2024-07-01 07:15:36 发布

您现在位置:Python中文网/ 问答频道 /正文

我使用的是python3.5.3和for

from scipy import maxentropy

我收到错误:ImportError:无法导入名称“max熵” 请提出错误的解决方案。谢谢你


Tags: fromimport名称for错误scipy解决方案max
3条回答

这是我发现的here

The scipy.maxentropy module, which was deprecated in the 0.10.0 release, has been removed. Logistic regression in scikits.learn is a good and modern alternative for this functionality.

希望有帮助

scipy的最新版本是0.19,maxentropy module不能与0.11或更高版本一起工作。请尝试从下面的scipy或11.0以上的链接下载:

下载SCIPY 0.10的链接: https://pypi.python.org/pypi/scipy/0.10.1

资料来源: https://docs.scipy.org/doc/scipy-0.10.1/reference/maxentropy.html

在scipy.max熵在版本0.11-https://docs.scipy.org/doc/scipy-0.10.1/reference/maxentropy.html中从scipy中删除

相关问题 更多 >

    热门问题