LoginSignup
5
2

More than 5 years have passed since last update.

sklearnでmnistがダウンロードできない

Posted at

mnistを使おうとしたら急につかえなくなってしまったのでその対処法です
sklearnで下を実行したらタイムアウトでエラーになりました


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

https://github.com/amplab/datascience-sp14/raw/master/lab7/mldata/mnist-original.mat
ここからmnist-original.matをダウンロードし、それを~/scikit_learn_data/mldata/に保存してから再実行すると実行できました

参考
https://github.com/scikit-learn/scikit-learn/issues/8588

5
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2