-
Notifications
You must be signed in to change notification settings - Fork 11
Description
I'm getting the following error when I try to test the example-lexisnexis.py file
sh-4.2# python example-lexisnexis.py
Added 348 articles, skipped 0 abstracts
Loading vectorizer...
Traceback (most recent call last):
File "example-lexisnexis.py", line 26, in
df['y'] = mobj.haystack(df['TEXT'])
File "/src/mpeds/classify_protest.py", line 68, in haystack
self.hay_vect = joblib.load(resource_filename(name, 'classifiers/haystack-vect_all-source_2017-05-24.pkl'))
File "/usr/local/lib/python2.7/site-packages/sklearn/externals/joblib/numpy_pickle.py", line 598, in load
obj = _unpickle(fobj, filename, mmap_mode)
File "/usr/local/lib/python2.7/site-packages/sklearn/externals/joblib/numpy_pickle.py", line 526, in _unpickle
obj = unpickler.load()
File "/usr/local/lib/python2.7/pickle.py", line 858, in load
dispatchkey
KeyError: 'v'
I'm not sure how to fix this.