Variational Bayesian inference for linear and logistic regression
MATLAB/Octave code to perform linear and logistic regression, with shrinkage priors. Inference of parameters and hyper-parameters is performed by Variational Bayes. Scripts with and without Automated Relevance Determination are provided.
Code: Variational Bayesian linear and logistic regression.
Documentation: arXiv paper and JOSS paper.
Diffusion model first-passage time distributions and sampling
Code to compute the first passage time distributions for diffusion models for drifts and bounds that can evolve arbitrarily over time, and for drawing first-passage time and bound samples from such models. Optimized methods are provided for special cases of constant drift/bounds. The code is available either as C++ library with MATLAB (MEX) and Python interface, or as Julia module.
Code: C++/MATLAB/Python code for diffusion models and Julia DiffModels.jl module for diffusion models.
Code for CoSMo 2017
MATLAB code for tutorials and for generating most of the figures in the slides of Jan Drugowitsch's session at the 2017 Summer School in Computational Sensory-Motor Neuroscience (CoSMo 2017).
Code: MATLAB code for CoSMo 2017
Code for the FENS Winter School 2015
MATLAB code to generate all the figures of my tutorial for normative solutions to the speed/accuracy trade-off in perceptual decision-making. This tutorial was held at the FENS-Hertie Winter School 2015 on the neuroscience of decision-making.
Code: MATLAB scripts to generate the tutorial figures.
Documentation: tutorial notes, containing all derivations/figures, and tutorial slides.
Code accompanying papers
Drugowitsch et al. (2019). Learing optimal decisions with confidence.
Tajima, Drugowitsch, Patel & Pouget (2019). Optimal policy for multi-alternative decisions.
Tajima, Drugowitsch & Pouget (2016). Optimal policy for value-based decision-making.
Drugowitsch (2016). Fast and accurate Monte Carlo sampling of first-passage times from Wiener diffusion models.
Drugowitsch, Moreno-Bote & Pouget (2014). Optimal decision-making with time-varying evidence reliability.
Computational Neuroscience Journal Club
Please consult the Computational Neuroscience Journal Club webpage for a list of future meetings.