

.. _sphx_glr_auto_examples_feature_selection:

.. _feature_selection_examples:

Feature Selection
-----------------------

Examples concerning the :mod:`sklearn.feature_selection` module.



.. raw:: html

    <div class="sphx-glr-thumbnails">


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example illustrates the differences between univariate F-test statistics and mutual inform...">

.. only:: html

  .. image:: /auto_examples/feature_selection/images/thumb/sphx_glr_plot_f_test_vs_mi_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_feature_selection_plot_f_test_vs_mi.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Comparison of F-test and mutual information</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example illustrates and compares two approaches for feature selection: SelectFromModel whi...">

.. only:: html

  .. image:: /auto_examples/feature_selection/images/thumb/sphx_glr_plot_select_from_model_diabetes_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_feature_selection_plot_select_from_model_diabetes.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Model-based and sequential feature selection</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example shows how a feature selection can be easily integrated within a machine learning p...">

.. only:: html

  .. image:: /auto_examples/feature_selection/images/thumb/sphx_glr_plot_feature_selection_pipeline_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_feature_selection_plot_feature_selection_pipeline.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Pipeline ANOVA SVM</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="A recursive feature elimination example showing the relevance of pixels in a digit classificati...">

.. only:: html

  .. image:: /auto_examples/feature_selection/images/thumb/sphx_glr_plot_rfe_digits_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_feature_selection_plot_rfe_digits.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Recursive feature elimination</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="A Recursive Feature Elimination (RFE) example with automatic tuning of the number of features s...">

.. only:: html

  .. image:: /auto_examples/feature_selection/images/thumb/sphx_glr_plot_rfe_with_cross_validation_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_feature_selection_plot_rfe_with_cross_validation.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Recursive feature elimination with cross-validation</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This notebook is an example of using univariate feature selection to improve classification acc...">

.. only:: html

  .. image:: /auto_examples/feature_selection/images/thumb/sphx_glr_plot_feature_selection_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_feature_selection_plot_feature_selection.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Univariate Feature Selection</div>
    </div>


.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/feature_selection/plot_f_test_vs_mi
   /auto_examples/feature_selection/plot_select_from_model_diabetes
   /auto_examples/feature_selection/plot_feature_selection_pipeline
   /auto_examples/feature_selection/plot_rfe_digits
   /auto_examples/feature_selection/plot_rfe_with_cross_validation
   /auto_examples/feature_selection/plot_feature_selection

