本文整理汇总了Python中msmbuilder.MSMLib.__mle_reversible_count_matrix_lutz__方法的典型用法代码示例。如果您正苦于以下问题:Python MSMLib.__mle_reversible_count_matrix_lutz__方法的具体用法?Python MSMLib.__mle_reversible_count_matrix_lutz__怎么用?Python MSMLib.__mle_reversible_count_matrix_lutz__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类msmbuilder.MSMLib
的用法示例。
在下文中一共展示了MSMLib.__mle_reversible_count_matrix_lutz__方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: compare_kyle_to_lutz
# 需要导入模块: from msmbuilder import MSMLib [as 别名]
# 或者: from msmbuilder.MSMLib import __mle_reversible_count_matrix_lutz__ [as 别名]
def compare_kyle_to_lutz(self, raw_counts):
"""Kyle wrote the most recent MLE code. We compare to the previous
code that was written by Lutz.
"""
counts = MSMLib.ergodic_trim(raw_counts)[0]
x_kyle = MSMLib.mle_reversible_count_matrix(counts)
x_kyle /= x_kyle.sum()
x_lutz = MSMLib.__mle_reversible_count_matrix_lutz__(counts)
x_lutz /= x_lutz.sum()
eq(x_kyle.toarray(), x_lutz.toarray())