:html_theme.sidebar_secondary.remove:


.. _feature_extraction_ref:


sklearn.feature_extraction
==========================

.. automodule:: sklearn.feature_extraction


**User guide.** See the :ref:`feature_extraction` section for further details.









.. autosummary::
  :nosignatures:
  :toctree: ../modules/generated/
  :template: base.rst


  DictVectorizer
  FeatureHasher


.. _feature_extraction_ref-from-images:



From images
-----------



.. automodule:: sklearn.feature_extraction.image

.. currentmodule:: sklearn.feature_extraction


.. autosummary::
  :nosignatures:
  :toctree: ../modules/generated/
  :template: base.rst


  image.PatchExtractor
  image.extract_patches_2d
  image.grid_to_graph
  image.img_to_graph
  image.reconstruct_from_patches_2d


.. _feature_extraction_ref-from-text:



From text
---------



.. automodule:: sklearn.feature_extraction.text

.. currentmodule:: sklearn.feature_extraction


.. autosummary::
  :nosignatures:
  :toctree: ../modules/generated/
  :template: base.rst


  text.CountVectorizer
  text.HashingVectorizer
  text.TfidfTransformer
  text.TfidfVectorizer
