Skip to content

Instantly share code, notes, and snippets.

@yamaguchiyuto
Created December 2, 2014 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yamaguchiyuto/8ca16373c46431eb831f to your computer and use it in GitHub Desktop.
Save yamaguchiyuto/8ca16373c46431eb831f to your computer and use it in GitHub Desktop.
scikit-learn digits dataset
import matplotlib.pyplot as plt
from sklearn.datasets import load_digits
digits = load_digits()
plt.gray()
plt.matshow(digits.images[0])
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment