dattalab / pyhsmm-library-models

library models built on top of pyhsmm
0 stars 1 forks source link

easier parallel interface #4

Closed mattjj closed 11 years ago

mattjj commented 11 years ago

We should only need to do this after starting engines:

import pyhsmm.parallel # creates client and stuff

# either this
for data in datas:
    model.add_data_parallel(data)

# or this, which could be greedy or smart
model.add_datas_parallel(datas)

samples = [model.copy_and_resample() for i in progprint_xrange(1000)]
mattjj commented 11 years ago

This issue should go on pyhsmm instead.