Skip to content

Commit

Permalink
Make use of externally defined joblib
Browse files Browse the repository at this point in the history
  • Loading branch information
nielstron committed May 14, 2019
1 parent 873fbcd commit 942d3eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ sklearn = "*"
wikipedia = "*"
stemming = "*"
num2words = "*"
joblib = "*"

[dev-packages]
yapf = "*"
Expand Down
2 changes: 1 addition & 1 deletion quantulum3/classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
try:
from sklearn.linear_model import SGDClassifier
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.externals import joblib
import joblib
USE_CLF = True
except ImportError:
SGDClassifier, TfidfVectorizer = None, None
Expand Down
1 change: 1 addition & 0 deletions requirements_classifier.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
numpy
scipy
scikit-learn
joblib
wikipedia
stemming

0 comments on commit 942d3eb

Please sign in to comment.