scikit learn - Error while loading MNIST database in Python -


i'm trying work mnist handwritten digits database below 2 lines giving me error. going wrong??

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

the error getting followed:

traceback (most recent call last):   file "e:/hwrecognition/deep-belief-network-gpu-update/kk.py", line 5, in <module>     dataset = datasets.fetch_mldata('mnist original')   file "c:\python27\lib\site-packages\sklearn\datasets\mldata.py", line 142, in fetch_mldata     mldata_url = urlopen(urlname)   file "c:\python27\lib\urllib2.py", line 126, in urlopen     return _opener.open(url, data, timeout)   file "c:\python27\lib\urllib2.py", line 397, in open     response = meth(req, response)   file "c:\python27\lib\urllib2.py", line 510, in http_response     'http', request, response, code, msg, hdrs)   file "c:\python27\lib\urllib2.py", line 429, in error     result = self._call_chain(*args)   file "c:\python27\lib\urllib2.py", line 369, in _call_chain     result = func(*args)   file "c:\python27\lib\urllib2.py", line 605, in http_error_302     return self.parent.open(new, timeout=req.timeout)   file "c:\python27\lib\urllib2.py", line 391, in open     response = self._open(req, data)   file "c:\python27\lib\urllib2.py", line 409, in _open     '_open', req)   file "c:\python27\lib\urllib2.py", line 369, in _call_chain     result = func(*args)   file "c:\python27\lib\urllib2.py", line 1173, in http_open     return self.do_open(httplib.httpconnection, req)   file "c:\python27\lib\urllib2.py", line 1148, in do_open     raise urlerror(err) urllib2.urlerror: <urlopen error [errno 10109] getaddrinfo failed> 


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -