deeptime-ml/deeptime
Python library for analysis of time series data including dimensionality reduction, clustering, and Markov model estimation
What it solves
Deeptime helps scientists and engineers turn time-series data into dynamical models — mathematical descriptions of how a system evolves over time. It covers both classical linear methods (Markov state models, hidden Markov models, Koopman models) and modern kernel/deep learning approaches (VAMPnets, deep MSMs). Beyond just fitting a model, it provides analysis tools to compute quantities like free energies, relaxation times, and transition paths.
How it works
Deeptime follows a scikit-learn-like design: you use Estimator classes to fit models from data, and Model classes to store and analyze the results. For example, the quickstart builds a Markov state model from a toy two-dimensional trajectory by projecting onto a slow coordinate with TICA, discretizing with k-means, counting transitions, and estimating the MSM. The library also supports deep learning via PyTorch (optional install) for VAMPnets and deep MSMs, and includes hidden Markov models with Gaussian outputs. All models plug into the same analysis utilities, so you can compute timescales, metastable sets, and more.
Who it’s for
Researchers and practitioners working with time-series data, especially in molecular dynamics, biophysics, and dynamical systems. It’s also useful for anyone who wants to apply machine learning to model system evolution, provided they are comfortable with Python and basic concepts like Markov models or neural networks.
Highlights
- Scikit-learn-compatible
EstimatorandModelclasses for easy integration - Supports Markov state models, hidden Markov models, Koopman models, VAMPnets, and deep MSMs
- Analysis methods for thermodynamic, kinetic, and dynamical quantities (free energies, relaxation times, transition paths)
- Optional deep learning support via PyTorch for VAMPnets and deep MSMs
- Includes built-in datasets and examples (e.g., alanine dipeptide, Bickley jet)
- Installable via conda-forge or pip with precompiled binaries for Linux, macOS, and Windows
Related
- Project
- Project
- Project
- Project
- Project