Enrollments closing soon for Post Graduate Certificate Program in Applied Data Science & AI By IIT Roorkee | 3 Seats Left
Apply NowLogin using Social Account
     Continue with GoogleLogin using your credentials
Let's load the fashion MNIST dataset. Keras has a number of functions to load popular datasets in keras.datasets
. The dataset is already split for you between a training set and a test set.
For more infor: https://github.com/zalandoresearch/fashion-mnist
Get the fashion mnist dataset module from keras using keras.datasets.fashion_mnist
.
fashion_mnist = << your code comes here >>
Load and sort the data into train and test sets using load_data()
function of fashion_mnist
:
(X_train_full, y_train_full), (X_test, y_test) = fashion_mnist.<< your code comes here >>
Let us see the shape of the training dataset.
X_train_full.shape
So, the training set contains 60,000 grayscale images, each 28x28 pixels.
Taking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
Note - Having trouble with the assessment engine? Follow the steps listed here
Loading comments...