本文整理汇总了Python中msmbuilder.msm.ContinuousTimeMSM.summarize方法的典型用法代码示例。如果您正苦于以下问题:Python ContinuousTimeMSM.summarize方法的具体用法?Python ContinuousTimeMSM.summarize怎么用?Python ContinuousTimeMSM.summarize使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类msmbuilder.msm.ContinuousTimeMSM
的用法示例。
在下文中一共展示了ContinuousTimeMSM.summarize方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: test_hessian
# 需要导入模块: from msmbuilder.msm import ContinuousTimeMSM [as 别名]
# 或者: from msmbuilder.msm.ContinuousTimeMSM import summarize [as 别名]
def test_hessian():
grid = NDGrid(n_bins_per_feature=10, min=-np.pi, max=np.pi)
seqs = grid.fit_transform(load_doublewell(random_state=0)['trajectories'])
seqs = [seqs[i] for i in range(10)]
lag_time = 10
model = ContinuousTimeMSM(verbose=True, lag_time=lag_time)
model.fit(seqs)
msm = MarkovStateModel(verbose=False, lag_time=lag_time)
print(model.summarize())
print('MSM timescales\n', msm.fit(seqs).timescales_)
print('Uncertainty K\n', model.uncertainty_K())
print('Uncertainty pi\n', model.uncertainty_pi())
示例2: test_hessian_3
# 需要导入模块: from msmbuilder.msm import ContinuousTimeMSM [as 别名]
# 或者: from msmbuilder.msm.ContinuousTimeMSM import summarize [as 别名]
def test_hessian_3():
grid = NDGrid(n_bins_per_feature=4, min=-np.pi, max=np.pi)
trajs = DoubleWell(random_state=0).get_cached().trajectories
seqs = grid.fit_transform(trajs)
seqs = [seqs[i] for i in range(10)]
lag_time = 10
model = ContinuousTimeMSM(verbose=False, lag_time=lag_time)
model.fit(seqs)
msm = MarkovStateModel(verbose=False, lag_time=lag_time)
print(model.summarize())
# print('MSM timescales\n', msm.fit(seqs).timescales_)
print('Uncertainty K\n', model.uncertainty_K())
print('Uncertainty eigs\n', model.uncertainty_eigenvalues())