mattjj / pyhsmm

MIT License
546 stars 173 forks source link

TypeError: resample_model() got an unexpected keyword argument 'joblib_jobs' #40

Closed gxhrid closed 9 years ago

gxhrid commented 9 years ago

I have add the pyhsmm and pybasicbayes package to pythonpath in the linux evn variables, like,

export PYTHONPATH=$PYTHONPATH:/home/exp/lbshmm/pyhsmm:/home/exp/lbshmm/pybasicbayes

as an alternative solution to yours in README file.(You might also want to add pyhsmm to your global Python path (e.g. by copying it to your site-packages directory).)

But when I run the sample hsmm-possiblechangepoints-separatetrans.py in your samples dictatory, following error occurs.

root@bd63:/home/exp/lbshmm/pyhsmm# python pyhsmm/examples/hsmm-possiblechangepoints-separatetrans.py Traceback (most recent call last): File "pyhsmm/examples/hsmm-possiblechangepoints-separatetrans.py", line 76, in posteriormodel.resample_model(joblib_jobs=2) TypeError: resample_model() got an unexpected keyword argument 'joblib_jobs'