Code


The following Python notebooks accompany the textbook Computational Foundations of Cognitive Neuroscience.

  • Costly inference (Chapter 4)
  • Neural Gibbs sampling (Chapter 5)