The code Marc Evers and I wrote for the SPA Neural Networks session