import matplotlib.pyplot as plt
from sklearn import datasets

digits = datasets.load_digits()
# print(digits['target_names'])
# print(digits['images'].shape)
# plt.imshow(digits.images[1], cmap=plt.cm.gray_r)
# plt.show()
# data = digits.images.reshape((digits.images.shape[0], -1))
