使用notebook输入from sklearn import fetch_mldata,在执行的时候报错
错误的内容提示为cannot import name ‘fetch_mldata’ from ‘sklearn.datasets’
可能的解决方法:
1、将原句改为
from sklearn.datasets import fetch_openml
mnist = fetch_openml(‘mnist_784’)
2、将scikit-learn换成较低版本的
使用notebook输入from sklearn import fetch_mldata,在执行的时候报错
错误的内容提示为cannot import name ‘fetch_mldata’ from ‘sklearn.datasets’
可能的解决方法:
1、将原句改为
from sklearn.datasets import fetch_openml
mnist = fetch_openml(‘mnist_784’)
2、将scikit-learn换成较低版本的