Digit Recognition with LatticaAI Demo Tutorial

Overview of the Model
Our Digit recognition model is trained on the MNIST dataset. This dataset is a collection of grayscale images of handwritten digits (0–9), each 28×28 pixels in size. We added some preprocessing and data augmentations to the training data, for better performance on real world sketches of handwritten digits.
The model architecture is FCNN (fully-connected neural network):
Input Layer: flattens the 28x28 image into a 784-dimensional vector.
Hidden Layer: a fully connected layer with 50 neurons and square activation.
Output Layer: a fully connected layer with 10 neurons (one for each digit) and a softmax activation.

Here is a sample code for inferring digit from an image using the trained model:
Achieving Full Privacy with LatticaAI
PreviousHealth Analysis with LatticaAI Demo TutorialNextZooming Into Each Step of Demo Run with LatticaAI flow
Last updated
Was this helpful?