PythonDataScienceHandbook icon indicating copy to clipboard operation
PythonDataScienceHandbook copied to clipboard

Cannot fetch 'MINST original' dataset (or any dataset using fetch_mldata) - website down permanently

Open iacobo opened this issue 6 years ago • 2 comments

As seen here, sklearn.datasets.fetch_mldata has been deprecated as of version 0.20 and will be removed from sklearn in version 0.22 since the source website mldata.org went down as of March last year.

This means that the final section "Example: Visualizing Structure in Digits" of the Manifold Learning chapter is not reproducible:

from sklearn.datasets import fetch_mldata
mnist = fetch_mldata('MNIST original')

iacobo avatar Mar 06 '19 13:03 iacobo

from sklearn.datasets import fetch_openml mnist = fetch_openml('mnist_784')

It helped me at least.

PlayerDos avatar Apr 22 '19 14:04 PlayerDos

Thanks @PlayerDos !!!!

JoRepetto avatar Mar 30 '20 12:03 JoRepetto