Skip to content

brainets/abi-DCM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

abi-DCM

A Python library for Automated Bayesian Inference in Dynamic Causal Modelling (DCM)

Description

This repository contains Python code for efficient Bayesian Inference in DCM, including routines for Gradient-Descent and Markov Chain Monte Carlo schemes.

Dependencies

Installation and use

First install Anaconda

Create a Python environment and its IPython kernel

conda env create -f environment.yml
conda activate abi-DCM
python -m ipykernel install --user --name abi-DCM
conda deactivate

Download the code from GitHub

git clone https://github.com/brainets/abi-DCM.git $HOME/abi-DCM

Run the examples on JupyterLab

conda install conda-forge::jupyterlab
cd $HOME/abi-DCM/examples
jupyter-lab & \

(once JupyterLab opens up, choose abi-dcm as IPython kernel)

Acknowledgements

This research has been supported by EU’s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreements No. 101147319 (EBRAINS 2.0 Project). EU logo

About

Automated Bayesian Inference for Dynamic Causal Models (DCMs)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages