July 2017
Intermediate to advanced
382 pages
9h 13m
English
From the earlier chapters, you might recall that scikit-learn provides a whole range of handwritten digits via its load_digits utility function. The dataset consists of 1,797 samples with 64 features each, where each of the features has the brightness of one pixel in an 8 x 8 image:
In [1]: from sklearn.datasets import load_digits... digits = load_digits()... digits.data.shapeOut[1]: (1797, 64)
Read now
Unlock full access