__init__.py 439 B

12345678910111213141516171819
  1. """
  2. The :mod:`sklearn.feature_extraction` module deals with feature extraction
  3. from raw data. It currently includes methods to extract features from text and
  4. images.
  5. """
  6. from . import text
  7. from ._dict_vectorizer import DictVectorizer
  8. from ._hash import FeatureHasher
  9. from .image import grid_to_graph, img_to_graph
  10. __all__ = [
  11. "DictVectorizer",
  12. "image",
  13. "img_to_graph",
  14. "grid_to_graph",
  15. "text",
  16. "FeatureHasher",
  17. ]