Sophie

Sophie

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

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



.. _example_linear_model_plot_sgd_penalties.py:


==============
SGD: Penalties
==============

Plot the contours of the three penalties supported by `scikits.learn.linear_model.stochastic_gradient`.



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

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

.. literalinclude:: plot_sgd_penalties.py
    :lines: 9-