

.. _example_emdiscriminant_analysis.py:


Classification using mixture of Gaussian
=========================================

Example of doing classification with mixture of Gaussian. Note that this
is really a toy example: we do not use testing testset nor cross
validation.

We use the famous iris database used by Sir R.A. Fisher. You can try to change
the attributes used for classification, number of components used for the
mixtures, etc...

**Source code:** :download:`discriminant_analysis.py <discriminant_analysis.py>`

.. literalinclude:: discriminant_analysis.py
    :lines: 12-
    