Registrations Closing Soon for DevOps Certification Training by CloudxLab | Registrations Closing in

  Enroll Now

Predicting Noisy Images - Explore the Data

In this step we will explore the dataset.

  1. First, we will print the shape of the variables we created in the previous step:

    print(X_train.<< your code goes here >>)
    print(<< your code goes here >>.shape)
  2. Next, we will use the showImage() function we created earlier to view the first image in the training set and it's corresponsing label:

    << your code goes here >>(X_train[0])
    << your code goes here >>[0]
  3. Finally, we will view few more images from the dataset:

    for i in range(15):
        array_image = X_train[i].reshape(28, 28)
        plt.imshow(array_image, cmap =, interpolation="nearest")

No hints are availble for this assesment

Answer is not availble for this assesment

Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...