<jupyter_start><jupyter_text>The Digit DatasetThis dataset is made up of 1797 8x8 images. Each image,like the one shown below, is of a hand-written digit.In order to utilize an 8x8 figure like this, we'd have tofirst transform it into a feature vector with length 64.See `here`_for more information about this dataset.<jupyter_code>print(__doc__)


# Code source: <NAME>
# Modified for documentation by <NAME>
# License: BSD 3 clause

from sklearn import datasets

import matplotlib.pyplot as plt

#Load the digits dataset
digits = datasets.load_digits()

#Display the first digit
plt.figure(1, figsize=(3, 3))
plt.imshow(digits.images[-1], cmap=plt.cm.gray_r, interpolation='nearest')
plt.show()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.08953168044077135, 'fraction_numerical': 0.02066115702479339, 'mean_word_length': 5.669724770642202, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '78105', 'license': 'MIT', 'n_tokens_mistral': 247, 'n_tokens_neox': 229, 'n_words': 85, 'path': 'scikit-learn-official-examples/datasets/plot_digits_last_image.ipynb', 'repo_name': 'gopala-kr/ds-notebooks', 'size': '742'}