You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--
*Meghan A. Watts*
Graduate Student
Department of Sociology & Anthropology
North Carolina State University
[email protected]
1911 Building, Office 351
Pronouns: She/They
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.
The text was updated successfully, but these errors were encountered: