Using the mnist dataset to train a model.
Evaluation of the trained model.
Creating a interface so we can draw digits that the model then tries to predict.
The canvas to draw on has a size of 280x280, but the image is scaled down to 28x28 to fit the input-size of the model.
While drawing the interface shows the current prediction and its confidence.
Pred: 1 (99.43% confidence) | Pred: 8 (99.92% confidence) | Pred: 7 (98.06% confidence) |
---|---|---|