Introduction to modeling and model fitting in cognitive and computational neuroscience (2019)
This repository contains materials for an introductory workshop to modeling and model fitting in cognitive and computational neuroscience, part of which I presented at the Center for Neural Science, NYU in September 2019.
This tutorial focuses on model fitting via optimization (i.e., maximum-likelihood and maximum-a-posteriori estimation), and on the Bayesian Adaptive Direct Search (BADS) optimization algorithm (https://github.com/lacerbi/bads).
I gave different versions of this tutorial at many other institutions and summer schools (see here).
The main file for the tutorial is the script ModelingTutorial.m.
To run some of the model-fitting algorithms in the tutorial you need to download and install the following MATLAB toolboxes:
- Bayesian Adaptive Direct Search (BADS): https://github.com/lacerbi/bads
- Variational Bayesian Monte Carlo (VBMC): https://github.com/lacerbi/vbmc
For more info about my work in computational neuroscience and machine learning, follow me on Twitter: https://twitter.com/AcerbiLuigi
For more visualizations of optimization algorithms at work, see here.
Code and scripts in this repository are released under the terms of the MIT License.