class MarkovStateModel¶
- class deeptime.markov.msm.MarkovStateModel(transition_matrix, stationary_distribution=None, reversible=None, n_eigenvalues=None, ncv=None, count_model=None, transition_matrix_tolerance=1e-08, lagtime=None)¶
Markov model with a given transition matrix.
- Parameters:
transition_matrix ((n,n) array_like) – The transition matrix.
stationary_distribution (ndarray(n), optional, default=None) – Stationary distribution. Can be optionally given in case if it was already computed.
reversible (bool, optional, default=None) – Whether the transition matrix is reversible with respect to its stationary distribution. If None (default), will be determined from the transition matrix.
n_eigenvalues (int, optional, default=None) – The number of eigenvalues / eigenvectors to be kept. If set to None, it depends on the transition matrix. If it is densely stored (in terms of a numpy array), all eigenvectors and eigenvalues are computed. If it is sparse, only the 10 largest eigenvalues with corresponding eigenvectors are computed.
ncv (int optional, default=None) – Relevant for eigenvalue decomposition of reversible transition matrices. It is the number of Lanczos vectors generated, ncv must be greater than n_eigenvalues; it is recommended that ncv > 2*neig.
count_model (TransitionCountModel, optional, default=None) – In case the MSM was estimated from data, the transition count model can be provided for statistical information about the data. Some properties of the model require a count model so that they can be computed.
transition_matrix_tolerance (float, default=1e-8) – The tolerance under which a matrix is still considered a transition matrix (only non-negative elements and row sums of 1).
lagtime (int, optional, default=None) – The lagtime of this MSM. If there is a count model, the MSM assumes the lagtime of the count model, otherwise falls back to the lagtime set via this constructor argument or a lagtime of 1 if no lagtime is provided at all.
See also
MaximumLikelihoodMSM
maximum-likelihood estimator for MSMs
OOMReweightedMSM
estimator for MSMs which uses Koopman reweighting
BayesianMSM
bayesian sampling of MSMs to obtain uncertainties
References
[1] (1,2,3)Frank Noé, Hao Wu, Jan-Hendrik Prinz, and Nuria Plattner. Projected and hidden markov models for calculating kinetics and metastable states of complex molecules. The Journal of chemical physics, 139(18):11B609_1, 2013.
[2] (1,2,3)Susanna Röblitz and Marcus Weber. Fuzzy spectral clustering by pcca+: application to markov state models and data classification. Advances in Data Analysis and Classification, 7(2):147–179, 2013.
[3] (1,2,3)Frank Noé, Sören Doose, Isabella Daidone, Marc Löllmann, Markus Sauer, John D Chodera, and Jeremy C Smith. Dynamical fingerprints for probing individual relaxation processes in biomolecular dynamics with simulations and kinetic experiments. Proceedings of the National Academy of Sciences, 108(12):4822–4827, 2011.
[4]Benjamin Lindner, Zheng Yi, Jan-Hendrik Prinz, Jeremy C Smith, and Frank Noé. Dynamic neutron scattering from conformational dynamics. i. theory and markov models. The Journal of chemical physics, 139(17):11B602_1, 2013.
[5] (1,2)Frank Noé and Feliks Nüske. A variational approach to modeling slow processes in stochastic dynamical systems. Multiscale Modeling & Simulation, 11(2):635–655, 2013.
[6] (1,2,3,4)Hao Wu and Frank Noé. Variational approach for learning markov processes from time series data. Journal of Nonlinear Science, 30(1):23–66, 2020.
[7]Robert T McGibbon and Vijay S Pande. Variational cross-validation of slow dynamical modes in molecular kinetics. The Journal of chemical physics, 142(12):03B621_1, 2015.
[8]Frank Noé and Cecilia Clementi. Kinetic distance and kinetic maps from molecular dynamics simulation. Journal of chemical theory and computation, 11(10):5002–5011, 2015.