Created
September 29, 2022 16:14
-
-
Save lydonchandra/07b34ee2ad9cdf23577f8f3048829a25 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
x, y = mnist['data'], mnist['target'] | |
digit1 = x.iloc[0] | |
digit1_image = digit1.values.reshape(28, 28) | |
plt.imshow(digit1_image, cmap='binary') | |
plt.axis('off') | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment