less than 1 minute read

Welcome back to this series about digits recognition! Today, we will leave the abstract world of neural network and linear algebra, and start loading some actual images of actual digits. We’ll also feed the image set to our network, and see if an untrained network performs well - spoiler alert: it doesn’t.

Loading data

The MNIST dataset

Using the mnist crate

The three sets

Evaluating the network

The evaluation function

Storing the results in a nice struct

Adding it all to main

Cliffhanger

Is it… working?

How we’ll make it work