.. _example_linear_model_plot_sgd_weighted_samples.py: ===================== SGD: Weighted samples ===================== Plot decision function of a weighted dataset, where the size of points is proportional to its weight. .. image:: images/plot_sgd_weighted_samples_1.png :align: center **Python source code:** :download:`plot_sgd_weighted_samples.py ` .. literalinclude:: plot_sgd_weighted_samples.py :lines: 9-