.. _example_classification_plot_lda.py:


====================================================================
Normal and Shrinkage Linear Discriminant Analysis for classification
====================================================================

Shows how shrinkage improves classification.



.. image:: images/plot_lda_001.png
    :align: center




**Python source code:** :download:`plot_lda.py <plot_lda.py>`

.. literalinclude:: plot_lda.py
    :lines: 8-

**Total running time of the example:**  5.61 seconds
( 0 minutes  5.61 seconds)