.. _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-