msmbuilder.MSMLib.mle_reversible_count_matrix

msmbuilder.MSMLib.mle_reversible_count_matrix(count_matrix)[source]

Maximum likelihood estimate for a reversible count matrix

Parameters:

counts : scipy.sparse.csr_matrix

sparse matrix of transition counts (raw, not symmetrized)

Returns:

X : scipy.sparse.csr_matrix

Returns the MLE reversible (symmetric) counts matrix

Notes

This function can be used to find the maximum likelihood reversible count matrix. See Docs/notes/mle_notes.pdf for details on the math used during these calculations.