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

  Enroll Now

Predicting Noisy Images - Define the Function to Show Images

In this step, we will define a function named showImage() that will help us view the images in the dataset.


Define the showImage() function:

def << your code goes here >>(data):
    some_article = data   # Selecting the image.
    some_article_image = some_article.reshape(28, 28)
    plt.imshow(some_article_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...