JAX MoSeq

jax-moseq is a library for fitting state-space models with Gibbs sampling. If you would like to apply these models to keypoint tracking data, we recommend using the keypoint MoSeq front-end, which has its own documentaton and installation instructions. The code is written in a functional style using jax. We also provide light-weight classes for model fitting. We currently support the following models, all of which use a sticky hierarchical dirichlet process (HDP) prior by default.

  • Vector autoregressive (VAR)

  • Switching Linear Dynamical System (SLDS)

  • SLDS with keypoint emissions

Installation

Install JAX as described in the [Keypoint MoSeq docs](https://keypoint-moseq.readthedocs.io/en/latest/), then install jax-moseq

pip install -U jax-moseq

Getting started

Checkout the example notebooks

API documentation