We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb0598f commit f5b46f8Copy full SHA for f5b46f8
corextopic/corextopic.py
@@ -22,7 +22,10 @@
22
import numpy as np # Tested with 1.8.0
23
from os import makedirs
24
from os import path
25
-from scipy.misc import logsumexp # Tested with 0.13.0
+try:
26
+ from scipy.special import logsumexp
27
+except ImportError:
28
+ from scipy.misc import logsumexp # Tested with 0.13.0
29
import scipy.sparse as ss
30
from six import string_types # For Python 2&3 compatible string checking
31
from sklearn.externals import joblib
0 commit comments