Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-backports > by-pkgid > e578866d55cd81fdb23827cdf3cec911 > files > 529

python-scikits-learn-0.6-1mdv2010.2.i586.rpm



.. _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.png
    :align: center

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

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