Ricardo's Place Robotics, machine learning, or simply random thoughts!

Interactively playing with MNIST

My interactive MNIST toy running on a Jupyter notebook

The very first example you use to introduce neural nets to students nowadays is always something based on MNIST handwritten numbers. Therefore, I decided to create an interactive notebook where you can directly draw your digits to test your brand new trained neural net.

The notebook, embed below, is pretty much self-explanatory, but it has some caveats. It is based on old TensorFlow when we consider the new version 2.0 (today is 06/04/2019). Additionally, Matplotlib and Jupyter have problems when you switch the backend between the notebook and the inline ones.

Ok, that’s it, I hope someone else enjoys and makes a good use of it too ;)