plot-01-demo=many_models_same_data.py 文件源码

python
阅读 28 收藏 0 点赞 0 评论 0

项目:bnpy 作者: bnpy 项目源码 文件源码
def show_single_sequence(seq_id):
    start = dataset.doc_range[seq_id]
    stop = dataset.doc_range[seq_id + 1]
    for dim in xrange(12):
        X_seq = dataset.X[start:stop]
        pylab.plot(X_seq[:, dim], '.-')
    pylab.xlabel('time')
    pylab.ylabel('angle')
    pylab.tight_layout()

###############################################################################
#
# Visualization of the first sequence
# -----------------------------------
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号