Overview Image

Overview Image

Documentation Status

The GLHMM toolbox provides facilities to fit a variety of Hidden Markov models (HMM) based on the Gaussian distribution, which we generalise as the Gaussian-Linear HMM. The toolbox has a focus on finding associations at various levels between brain data (EEG, MEG, fMRI, ECoG, etc) and non-brain data, such as behavioural or physiological variables. A good starting point to decide what is the best way to set it up is https://github.com/vidaurre/glhmm/blob/main/docs/notebooks/tutorial.ipynb

Dependencies

The required dependencies to use glhmm are:

  • Python >= 3.10

  • NumPy

  • numba

  • scikit-learn

  • scipy

  • matplotlib

  • seaborn

  • pickle

  • scikit-learn

  • cupy (only when using GPU acceleration; requires manual install)

  • h5py

Installation

  • To install the latest development version from the repository, use the following command:

pip install git+https://github.com/vidaurre/glhmm
  • Alternatively, to install the latest stable release from PyPI, use the command:

pip install glhmm

Documentation

Warning The documentation of this library is under development