Error while loading mnist dataset in jupyter

0 votes

Hi Guys,

I am trying to load mnist dataset for NN, but I am not able to do so. I am using the below given code.

from sklearn.datasets import fetch_mldata
mnist = fetch_mldata('mnist.db')
May 8, 2020 in Machine Learning by akhtar
• 38,230 points
2,035 views

1 answer to this question.

0 votes

Hi@akhtar,

Instead of using sklearn dataset, you can use keras datasets as shown below.

from keras.datasets import mnist
data = mnist.load_data('mnist.db')

Hope this will help.

answered May 8, 2020 by MD
• 95,440 points

Related Questions In Machine Learning

0 votes
1 answer

Error While Installing Tensorflow

To install tensorflow you need to have ...READ MORE

answered Sep 20, 2019 in Machine Learning by Sharan
810 views
+1 vote
1 answer

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-8nhf9w2t/grpcio/

Hi@akhtar, You may get this error because of ...READ MORE

answered May 16, 2020 in Machine Learning by MD
• 95,440 points
31,854 views
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,051 views
0 votes
1 answer
0 votes
1 answer

How to add one new column in an existing dataset?

Hi@akhtar, You can do this task using numpy ...READ MORE

answered Apr 17, 2020 in Machine Learning by MD
• 95,440 points
2,207 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP