Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/p/y/pyhsmm-factorial-HEAD/example.py   pyhsmm-factorial(Download)
 
### estimate changepoints (threshold should probably be a function of the empirical variance, or something)
changepoints = futil.indicators_to_changepoints(np.concatenate(((0,),np.abs(np.diff(sumobs)) > 1)))
futil.plot_with_changepoints(sumobs,changepoints)