:orphan:



.. _sphx_glr_auto_examples:

.. _general_examples:

**General-purpose and introductory examples for the imbalanced-ensemble toolbox.**

**The examples gallery is still under construction.** Please refer to APIs for more detailed guidelines of how to use 
``imbalanced_ensemble``.


.. raw:: html

    <div class="sphx-glr-clear"></div>



.. _sphx_glr_auto_examples_basic:

.. _basic_examples:

Basic usage examples
-------------------------------------------------------

Quick start with :mod:`imbalanced_ensemble`.



.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example shows the basic usage of the ensemble estimators  (:class:`imbalanced_ensemble.ens...">

.. only:: html

 .. figure:: /auto_examples/basic/images/thumb/sphx_glr_plot_basic_example_thumb.png
     :alt: Basic usage example of ``imbalanced_ensemble``

     :ref:`sphx_glr_auto_examples_basic_plot_basic_example.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/basic/plot_basic_example
.. raw:: html

    <div class="sphx-glr-clear"></div>



.. _sphx_glr_auto_examples_datasets:

.. _dataset_examples:

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

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



.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="An illustration of the make_imbalance function to create an imbalanced dataset from a balanced ...">

.. only:: html

 .. figure:: /auto_examples/datasets/images/thumb/sphx_glr_plot_make_imbalance_thumb.png
     :alt: Create an imbalanced dataset

     :ref:`sphx_glr_auto_examples_datasets_plot_make_imbalance.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/datasets/plot_make_imbalance
.. raw:: html

    <div class="sphx-glr-clear"></div>



.. _sphx_glr_auto_examples_evaluation:

.. _evaluation_examples:

Evaluation examples
-------------------

Examples illustrating how classification using imbalanced dataset can be done.



.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Specific metrics have been developed to evaluate classifier which has been trained using imbala...">

.. only:: html

 .. figure:: /auto_examples/evaluation/images/thumb/sphx_glr_plot_classification_report_thumb.png
     :alt: Evaluate classification by compiling a report

     :ref:`sphx_glr_auto_examples_evaluation_plot_classification_report.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/evaluation/plot_classification_report

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Specific metrics have been developed to evaluate classifier which has been trained using imbala...">

.. only:: html

 .. figure:: /auto_examples/evaluation/images/thumb/sphx_glr_plot_metrics_thumb.png
     :alt: Metrics specific to imbalanced learning

     :ref:`sphx_glr_auto_examples_evaluation_plot_metrics.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/evaluation/plot_metrics
.. raw:: html

    <div class="sphx-glr-clear"></div>



.. _sphx_glr_auto_examples_pipeline:

.. _pipeline_examples:

Pipeline examples
---------------------

Example of how to use the a pipeline to include under-sampling with `scikit-learn` estimators.


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="An example of the Pipeline object (or make_pipeline helper function) working with transformers ...">

.. only:: html

 .. figure:: /auto_examples/pipeline/images/thumb/sphx_glr_plot_pipeline_classification_thumb.png
     :alt: Usage of pipeline embedding samplers

     :ref:`sphx_glr_auto_examples_pipeline_plot_pipeline_classification.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/pipeline/plot_pipeline_classification
.. raw:: html

    <div class="sphx-glr-clear"></div>



.. only :: html

 .. container:: sphx-glr-footer
    :class: sphx-glr-footer-gallery


  .. container:: sphx-glr-download sphx-glr-download-python

    :download:`Download all examples in Python source code: auto_examples_python.zip </auto_examples/auto_examples_python.zip>`



  .. container:: sphx-glr-download sphx-glr-download-jupyter

    :download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip </auto_examples/auto_examples_jupyter.zip>`


.. only:: html

 .. rst-class:: sphx-glr-signature

    `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.github.io>`_
