Sophie

Sophie

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

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



.. _example_linear_model_plot_sgd_loss_functions.py:


==========================
SGD: Convex Loss Functions
==========================

Plot the convex loss functions supported by `scikits.learn.linear_model.stochastic_gradient`.


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

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

.. literalinclude:: plot_sgd_loss_functions.py
    :lines: 8-