我使用python 3.5.3和Python 3的导入错误:无法导入名称“maxentropy”
from scipy import maxentropy
我收到错误:导入错误:无法导入名称“maxentropy” 请建议的错误解决。感谢您从SciPy的去除版本0.11
我使用python 3.5.3和Python 3的导入错误:无法导入名称“maxentropy”
from scipy import maxentropy
我收到错误:导入错误:无法导入名称“maxentropy” 请建议的错误解决。感谢您从SciPy的去除版本0.11
SciPy的的拉泰什版本是0.19,maxentropy模块不会与0.11或更高版本。如果你有0.11或高于尝试下载并从下面的链接安装SciPy的0.10:
下载链接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.maxentropy - https://docs.scipy.org/doc/scipy-0.10.1/reference/maxentropy.html
按SciPy docs,maxentropy
因为0.11
版本被删除。
这是我发现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.
希望它可以帮助