scikit-learn
Handwritten digit recognition with scikit-learn
Installing scikit-learn
Use pip virtualenv
Use conda
see the documentation for more information <a href="https://scikit-learn.org/stable/install.html">https://scikit-learn.org/stable/install.html</a>
We trained a simple neural network to recognize the numbers in these images. This network will take 1D arrays of 8x8=64 values as input. We then converted these 2D images into 1D arrays
We start by loading the sample
Then we print the first image
Like all the images in the sample, this one is an 8x8 pixel image, black and white (a single color level per pixel). It can be displayed in the following way, also indicating the corresponding label (the number to which the image corresponds)



