Author
Listed:
- Lenard Dome
- Frank H Hezemans
- Kenza Kadri
- Ben J Wagner
- Andrew Webb
- Tobias U Hauser
Abstract
The Computational Psychiatry Modelling (cpm) toolbox is a Python library for theory-driven modelling in computational psychiatry and cognitive (neuro-)science. cpm integrates a wide range of established approaches into a single framework. It is designed to be accessible to both expert and non-expert modellers in order to conduct cutting-edge computational modelling, while adhering to best practices. The toolbox provides a flexible, modular architecture that adjusts to different needs. It covers a wide range of problems (such as risky decision-making, reward/punishment learning, perceptual metacognition), models (including those based on associative, reinforcement learning, and signal detection theories), and methods (such as hierarchical parameter estimation using empirical and variational Bayesian techniques). Such a customisable toolbox aims to lower the barrier for beginners and to facilitate access to advanced modelling approaches in psychiatry and beyond.Author summary: Computational psychiatry is a field that makes extensive use of computational methods to understand mental health. In this field and related disciplines, there is a strong need to design, implement, and apply mathematical models of behaviour and cognition (such as reinforcement learning or Bayesian models). However, coding these models from scratch poses a significant challenge for researchers without extensive computational training, including clinicians and other stakeholders who are interested in understanding the underlying principles of mental disorders. Here, we describe the cpm toolbox, providing a step-by-step walkthrough of the current design, alongside links to related resources. We believe that building such an overarching, customisable, and user-friendly toolbox can facilitate access to computational modelling, and thus jump-start computational approaches in the field and beyond.
Suggested Citation
Lenard Dome & Frank H Hezemans & Kenza Kadri & Ben J Wagner & Andrew Webb & Tobias U Hauser, 2026.
"cpm: A python library for theory-driven modelling in computational psychiatry,"
PLOS Computational Biology, Public Library of Science, vol. 22(7), pages 1-31, July.
Handle:
RePEc:plo:pcbi00:1014481
DOI: 10.1371/journal.pcbi.1014481
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pcbi00:1014481. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: ploscompbiol (email available below). General contact details of provider: https://journals.plos.org/ploscompbiol/ .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.