-
-
Notifications
You must be signed in to change notification settings - Fork 27k
FeatureHasher support in PyPy #11540
Copy link
Copy link
Labels
ModerateAnything that requires some knowledge of conventions and best practicesAnything that requires some knowledge of conventions and best practicesmodule:feature_extractionpypy
Metadata
Metadata
Assignees
Labels
ModerateAnything that requires some knowledge of conventions and best practicesAnything that requires some knowledge of conventions and best practicesmodule:feature_extractionpypy
At present,
FeatureHasher(andHashingVectorizer) is not supported with PyPy because it relies on interacting witharray.arrayfrom Cython which is not supported and probably won't be in the near future (cf cython/cython#1818 and bitbucket.org/pypy/pypy#2807).Following workarounds were proposed in #11010, briefly,
_hashing.pyspecific PyPy [MRG] PyPy support #11010 (comment)_hashing.pyxto cython's pure-python mode together with an external pxd ([MRG] PyPy support #11010 (comment))array.array([MRG] PyPy support #11010 (comment))