Machine learning MNIST example using Tensorflow Google library.
This code is taken from Tensorflow tutorial: http://www.tensorflow.org/tutorials/mnist/beginners/index.md
To use TensorFlow in your project, just follow the instructions at: http://www.tensorflow.org/get_started/os_setup.md
Please notice that you need Python 2.7 to use TensorFlow. It won't work for greater versions of Python.
Once you have Tensorflow installed in your machine, just type the following in your terminal and have fun ;-)
python mnist_example.py