seqlearn icon indicating copy to clipboard operation
seqlearn copied to clipboard

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

Open andrey-chu opened this issue 5 years ago • 1 comments

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

andrey-chu avatar Jan 10 '20 19:01 andrey-chu

if it helps, here's a workaround

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

theoden8 avatar Mar 12 '21 22:03 theoden8