Question: Python: Select the first row of your feature array and reshape it to 2 8 x 2 8 , storing the result in a new

Python:
Select the first row of your feature array and reshape it to 28x28, storing the result in a new variable. Display the digit using the plt.imshow() function of Matplotlib. Set cmap='Greys' when calling imshow(). Turn off the axes and then use plt.show() to display the digit.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!