Python implementation of UFLDL tutorial code (http://ufldl.stanford.edu/wiki/index.php/UFLDL_Tutorial)
- Clone repository
- Set up virtualenv
- pip install -r requirements.txt
To speed things up, install Intel Math Kernel Library and fill-in ~/.numpy-site.cfg before installing numpy (see http://stackoverflow.com/questions/13769936/supplying-numpy-site-cfg-arguments-to-pip for more information).
Running
python stacked_autoencoder_test.py
should produce
Before Fine-tuning Test Accuracy: 92.180%
After Fine-tuning Test Accuracy: 97.830%
on MNIST data set (http://yann.lecun.com/exdb/mnist/)
Enjoy!