This repository provides the source code for training the recurrent neural networks investigated in the following paper:
Kim Christopher M, Chow Carson C, Averbeck Bruno B (2024) Neural dynamics of reversal learning in the prefrontal cortex and recurrent neural networks eLife 13:RP103660 https://doi.org/10.7554/eLife.103660.2