Skip to content

chenghuzi/SPEL

Repository files navigation

SPEL: Sequence Prediction Error Learning

Source code for Monkey Prefrontal Cortex Learns to Minimize Sequence Prediction Error

System requirements OS: Red Hat Enterprise Linux Server 7.6 (Maipo) Python: 3.10 Other 3rd party libs: see requirements.txt CUDA: 11.7

Quickstart

Install dependencies:

pip install -r requirements.txt

The installation may take minutes to hours depending on the hardware and your network conditions.

Run the code:

python run_train.py # run simulation

Perform analysis and plot figure

python run_analysis.py --seed 12 --sim-dir /path/to/your/stored/data

The installation may take a few hours depending on the hardware conditions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages