Python translation of Hinton's "ForwardForward" algorithm. Gets 99%+ accuracy. All you need is Python (I'm using an iPython kernel) and Numpy.
Requirements:
- Python (3+ Recommended)
- Numpy
- Scipy
pip install numpy
Code is a Python/Numpy implementation of Hinton's "Forward Forward" algorithm. To learn more, check here https://www.cs.toronto.edu/~hinton/FFA13.pdf
Simply add this file to the same folder and run the code https://www.cs.toronto.edu/~hinton/mnistdata.mat