.. _example_linear_model_plot_sgd_iris.py:


========================================
Plot multi-class SGD on the iris dataset
========================================

Plot decision surface of multi-class SGD on iris dataset.
The hyperplanes corresponding to the three one-versus-all (OVA) classifiers
are represented by the dashed lines.




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




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

.. literalinclude:: plot_sgd_iris.py
    :lines: 11-

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