How-to guides#

Short, task-focused recipes for problems you will meet once you have learned the basics.

Speed up fitting with numba

Install numba to fit the built-in models many times faster, and compile your own models too.

Speed up fitting with numba
Speed up your own model

Write your model function for all trials at once, check it against the per-trial version, and fit it about 10 times faster.

Speed up your own model
Parallelise model fitting

Fit many participants at once on a single machine, including on Windows and in Jupyter.

Parallelise model fitting
Run fits on a computing cluster

Split participants across the nodes of a SLURM cluster with a job array, then combine the results.

Run fits on a computing cluster