/deeptime

Python library for analysis of time series data including dimensionality reduction, clustering, and Markov model estimation

Primary LanguagePythonGNU Lesser General Public License v3.0LGPL-3.0

deeptime

License: LGPL v3 Build Status codecov DOI

Deeptime is a general purpose Python library offering various tools to estimate dynamical models based on time-series data including conventional linear learning methods, such as Markov State Models (MSMs), Hidden Markov Models (HMMs) and Koopman models, as well as kernel and deep learning approaches such as VAMPnets and deep MSMs. The library is largely compatible with scikit-learn, having a range of Estimator classes for these different models, but in contrast to scikit-learn also provides Model classes, e.g., in the case of an MSM, which provide a multitude of analysis methods to compute interesting thermodynamic, kinetic and dynamical quantities, such as free energies, relaxation times and transition paths.

Installation via conda or pip. Both provide compiled binaries for Linux, Windows, and MacOS (x86_64 and arm64).

conda-forge PyPI
conda install -c conda-forge deeptime pip install deeptime

Documentation: deeptime-ml.github.io.

Main components of deeptime

Dimension reduction Deep dimension reduction SINDy
Dimension reduction Deep dimension reduction SINDy
Markov state models Hidden Markov models Datasets
MSMs HMMs Datasets

Building the latest trunk version of the package:

Using pip with a local clone and pulling dependencies:

git clone https://github.com/deeptime-ml/deeptime.git

cd deeptime
pip install .

Or using pip directly on the remote:

pip install git+https://github.com/deeptime-ml/deeptime.git@main