Code used for simulations in paper: 'Signatures of Bayesian inference emerge from energy efficient synapses'
-
Data for figures 2, 3, 5 and 6 can be found in folders:- data-_
-
Simulations for figures 2, 3 and 5 can be replicated using sims-_.py
-
Plots for figures 2, 3 and 5 can be replicated using plots-_.py
-
Figures 2, 3 and 5 can be found in folder:- figures
-
A generic neural network optimised under the performance-reliability cost tradeoff can be trained using network.py
Version: Pytorch 1.11.0
This work is licensed under a Creative Commons Attribution 4.0 International License.