Code for reproducing the analyses reported in the paper "Origin of perseveration in the trade-off between reward and complexity".
Some of the code requires the mfit package: https://github.com/sjgershm/mfit
Questions? Contact Sam Gershman ([email protected]).