Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in hmm.py there is a wrong reference to logsumexp method #45

Open
andrey-chu opened this issue Jan 10, 2020 · 1 comment
Open

in hmm.py there is a wrong reference to logsumexp method #45

andrey-chu opened this issue Jan 10, 2020 · 1 comment

Comments

@andrey-chu
Copy link

In hmm.py logsumexp is imported as:
from scipy.misc import logsumexp
however in the new versions of scipy logsumexp was moved to scipy.special, therefore it should be:

from scipy.special import logsumexp

@theoden8
Copy link

if it helps, here's a workaround

sys.modules['scipy.misc.logsumexp'] = scipy.special.logsumexp
import seqlearn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants