我通过终端更新 sklearn 版本
conda install scikit-learn=0.18
如果我使用 conda list scikit-learn
列出
# packages in environment at /Users/Claudia/anaconda:
scikit-learn 0.18.1 np111py27_1
scikit-learn 0.18.1 <pip>
但是如果我在笔记本上运行
print('The scikit-learn version is {}.'.format(sklearn.__version__))
结果是
The scikit-learn version is 0.17.1.
如何解决和更新 Jupyter Notebook 中的版本?
最佳答案
关于python - Jupyter Notebook 中的旧 sklearn 版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41768292/