Dimitri Papadopoulos Orfanos
d4d5f8c7e0
MAINT consistent use of `print(__doc__)` in examples ( #21307 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-10-22 15:33:22 +02:00
Thomas J. Fan
70a185ae59
MAINT Enable and run black on examples ( #20502 )
2021-10-07 10:13:00 +02:00
Maren Westermann
4e8dc9db5c
DOC shorten links in examples/* modules ( #17636 )
...
* shorten links in examples
* fix linting errors
2020-06-20 17:43:14 +02:00
akshay0724
b705cb811d
[MRG] loss function plot y-label slightly confusing ( #8283 )
...
* Correct y label in plot
* Remove Space
2017-02-06 21:10:44 +11:00
johannah
47a8ffa618
Added colorblind compatibility
2015-10-22 18:59:24 +02:00
Rajat Khanduja
5e20b8c664
Fixed pep8 violations. Some 'line too long' errors still remain.
2014-05-15 09:23:16 +05:30
Rajat Khanduja
2244098532
Updated examples to use pyplot for plotting instead of pylab
...
Some examples not updated because scripts throw error (probably not
because of the change)
2014-05-15 02:18:07 +05:30
Lars Buitinck
e1d4df43b0
FIX loss function example
...
The Python API to the loss functions was lost in the last refactor.
Restored the example by defining the losses inline.
Fixed the x-axis to show "f(x)" instead of "y * f(x)".
Removed references to private APIs.
2014-04-06 17:10:20 +02:00
Jaques Grobler
cbfe851751
example fixes to clean first docstring paragraph of rst code
2013-07-22 15:48:44 +02:00
Lars Buitinck
837093df7f
P3K: use print as a function in the examples
...
Also corrected some typos, including two people misspelling their own names :)
2013-02-01 15:04:42 +01:00
Olivier Grisel
0d47916b42
ENH: add the squared hinge loss to the SGD loss example
2013-01-02 22:56:32 +01:00
Mathieu Blondel
2ef136c6eb
Add perceptron loss to plot.
2013-01-03 03:21:46 +09:00
Andreas Mueller
38b455d541
Cosmit pep8
2012-12-25 13:16:05 +01:00
Andreas Mueller
3a172f3335
FIX SGD loss example for new hinge loss.
2012-02-01 22:52:37 +01:00
Jake Vanderplas
96d6060cd7
pep8
2011-12-23 10:12:26 -08:00
Fabian Pedregosa
ddf4b72109
Move project directory from scikits.learn to sklearn
2011-09-02 12:06:57 +02:00
Fabian Pedregosa
68f27e3790
Revert "Move project directory from scikits.learn to sklearn"
...
This reverts commit fd0d3b879d .
2011-09-02 12:03:18 +02:00
Fabian Pedregosa
fd0d3b879d
Move project directory from scikits.learn to sklearn
2011-09-02 11:38:24 +02:00
Peter Prettenhofer
d102d2228d
moved sgd examples to examples/linear_model and added sgd prefix.
...
minor fixes in some examples.
updated sgd.rst
2010-12-01 16:59:52 +01:00