Press "Enter" to skip to content

Serial Order in a Hopfield Network

An interactive notebook for the NEUR0016 lecture Learning, performing and remembering serially ordered actions. A network of 400 simple on/off neurons stores four letters and steps through them in order, P, R, O, F. One set of connections holds the current letter in place and a second, delayed set pushes the network on to the next. Watch the network run as an animation, let it loop from F back to P, and change the strength and delay of the push, the noise and the number of neurons to see when the sequence stalls or breaks.

Open the interactive notebook →

The notebook runs entirely in your web browser; nothing is installed and no data is sent to a server. The first load downloads about 30 MB and may take around 30 seconds.

Download the notebook (.ipynb) to run it in your own Jupyter installation (it needs only NumPy and Matplotlib).