A simple hopfield network implementation running on the BBC micro bit
It goes as follow:
- A bunch of random patterns are learnt by the network and one of them will be the target.
- When the user presses 'B', the target pattern will be randomly altered (up to 64%).
- Then, the network will try to restore the original pattern.
- Press 'A' to see the original pattern.
- Restart with microbit to set new patterns and learn again.
Visualization using the microbit-python-simulator