https://github.com/jacopobono/learning_cognitive_maps_code
Tip revision: d86b262545547353c7050bbc2d476c2f4a297989 authored by Jacopo Bono on 26 January 2023, 19:15:51 UTC
somewhat cleaner scripts
somewhat cleaner scripts
Tip revision: d86b262
README.txt
# README COGNITIVE PREDICTIVE MAPS DURING BEHAVIOUR AND REPLAYS
These scripts were used for the simulations in the paper "Learning predictive cognitive maps with spiking neurons during behavior and replays", Elife, 2023.
# CREATE VIRTUAL ENVIRONMENT
1. use "conda env create -f environment.yml" to create a conda env with all required packages to run the code. Alternatively, install the required packages in "environment.yml" manually.
2. Activate the virtual env.
# RUN A SIMULATION
1. Set the hyperparameters to use in configuration dictionary (bottom of the script)
2. Run "python3 [filename.py]"
# NOTE
1. Scripts for figure 5 do not follow the above structure, just run the script itself.
