Code for the paper Population Codes Enable Learning from Few Examples By Shaping Inductive Bias.
The analysis of Mouse V1 responses can be reproduced with code in the KPCA_EXPT directory. Responses of V1 cells to natural images and grating stimuli should be downloaded and placed in the KPCA_EXPT directory in subdirectories titled natural_images and grating_data respectively. Our utils.py file relied on some preprocessing code from Mouseland Github, which can be referenced for more details on data loading and preprocessing.
Code to reproduce results relating to the Gabor model is contained in Gabor_Model while the reservoir computing results are in RNN. The tuning curve width results can be reproduced from the code in Bandwidth_Expt.