diff --git a/setup.py b/setup.py index f55fc3b7..7c7ea4b5 100755 --- a/setup.py +++ b/setup.py @@ -46,9 +46,9 @@ def finalize_options(self): install_requires=[ "lxml>=2.3.3", "regex>=1", - "numpy", - "scipy", - "scikit-learn==0.16.1", # pickled versions of classifier, else rebuild + "numpy>=1.20.1", + "scikit-learn==0.24.1", + "scipy==1.6.2", 'chardet>=1.0.1', 'cchardet>=0.3.5', 'cssselect', diff --git a/talon/signature/data/classifier b/talon/signature/data/classifier index 1c3a4b08..99bee382 100644 Binary files a/talon/signature/data/classifier and b/talon/signature/data/classifier differ diff --git a/talon/signature/learning/classifier.py b/talon/signature/learning/classifier.py index 0519713d..55863a39 100644 --- a/talon/signature/learning/classifier.py +++ b/talon/signature/learning/classifier.py @@ -8,8 +8,8 @@ from __future__ import absolute_import from numpy import genfromtxt -from sklearn.externals import joblib from sklearn.svm import LinearSVC +import joblib def init():