

.. _sphx_glr_auto_examples_datasets:

.. _dataset_examples:

Dataset examples
-----------------------

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



.. raw:: html

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

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example plots several randomly generated classification datasets. For easy visualization, all datasets have 2 features, plotted on the x and y axis. The color of each point represents its class label.">

.. only:: html

  .. image:: /auto_examples/datasets/images/thumb/sphx_glr_plot_random_dataset_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_datasets_plot_random_dataset.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Plot randomly generated classification dataset</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This illustrates the make_multilabel_classification dataset generator. Each sample consists of counts of two features (up to 50 in total), which are differently distributed in each of two classes.">

.. only:: html

  .. image:: /auto_examples/datasets/images/thumb/sphx_glr_plot_random_multilabel_dataset_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_datasets_plot_random_multilabel_dataset.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Plot randomly generated multilabel dataset</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This dataset is made up of 1797 8x8 images. Each image, like the one shown below, is of a hand-written digit. In order to utilize an 8x8 figure like this, we&#x27;d have to first transform it into a feature vector with length 64.">

.. only:: html

  .. image:: /auto_examples/datasets/images/thumb/sphx_glr_plot_digits_last_image_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_datasets_plot_digits_last_image.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">The Digit Dataset</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="The rows being the samples and the columns being: Sepal Length, Sepal Width, Petal Length and Petal Width.">

.. only:: html

  .. image:: /auto_examples/datasets/images/thumb/sphx_glr_plot_iris_dataset_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_datasets_plot_iris_dataset.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">The Iris Dataset</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/datasets/plot_random_dataset
   /auto_examples/datasets/plot_random_multilabel_dataset
   /auto_examples/datasets/plot_digits_last_image
   /auto_examples/datasets/plot_iris_dataset

