This repository contains the MATLAB implementation of PAM framework. The structure and methodologies are inspired from the HGF toolbox, open source code available as part of the TAPAS software collection References:
TAPAS - Frässle, S., et al. (2021). TAPAS: An Open-Source Software Package for Translational Neuromodeling and Computational Psychiatry. Frontiers in Psychiatry, 12:680811. https://doi.org/10.3389/fpsyt.2021.680811
PAM - https://arxiv.org/abs/2411.13203
The repository is structured in the following way:
``` project-root ├── PAM_master │ ├── PAM_HGF: contains the implementation of PAM framework using HGF model as perceptual model. │ ├── PAM_VKF: contains the implementation of PAM framework using Volatile Kalman Filter (VKF) model as perceptual model. │ └── Examples ├── HGF_examples: contains different usage examples with HGF model as perceptual model. ├── VKF_examples: contains different usage examples with VKF model as perceptual model. ```
Required | Package | Remarks |
---|---|---|
Yes | [MATLAB] | |
Yes | [TAPAS] | 4 PAM_HGF |
Yes | [VKF] | 4 PAM_VKF |
- Download/clone the latest release and unzip it.
- Open MATLAB
- Navigate to the project directory
cd '/path/to/PAM'
- Add the project folder and its subfolders to the MATLAB path:
addpath(genpath('/path/to/PAM'))
- Run the scripts