PRML
PRML copied to clipboard
cannot import name 'logsumexp' from 'scipy.misc' (/opt/anaconda/lib/python3.7/site-packages/scipy/misc/__init__.py)
When I run "ch01_Introduction.ipynb", get the error: cannot import name 'logsumexp' from 'scipy.misc' (/opt/anaconda/lib/python3.7/site-packages/scipy/misc/init.py) .
So, I replace "from scipy.misc import logsumexp" with "from scipy.special import logsumexp" in this three files: prml/nn/loss/softmax_cross_entropy.py prml/rv/bernoulli_mixture.py prml/rv/variational_gaussian_mixture.py Then it wokrs!
@phyer219 I bet you're taking the prml course at ruc. 😂
@phyer219 I bet you're taking the prml course at ruc. joy
You are right! If you are interested, you can join our learning group!