Created
December 7, 2020 04:19
-
-
Save Crazz-Zaac/62252b5ab670ca3bb051004144aa2ce8 to your computer and use it in GitHub Desktop.
Visualizing the data in the dataset
This file contains 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
index = 30 # change index value to visualize other data | |
plt.imshow(train_set_x_orig[index]) | |
print ("y = " + str(train_set_y[:, index]) + ", it's a '" + classes[np.squeeze(train_set_y[:, index])].decode("utf-8") + "' picture.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment