Commit Graph

26 Commits

Author SHA1 Message Date
Thomas J. Fan 1fc86b6aac
MNT Update black to stable version (#22474) 2022-02-15 11:36:26 +01:00
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
ZJ Poh adddf00433 [MRG] np.ones -> np.full (#11628) 2018-07-23 09:49:01 +02:00
plagree 1f6ac72df7 [MRG] DOC examples with correct notebook style (#9061)
* DOC examples with correct notebook style

* Modifications in examples/ to avoid unwanted notebook style

* Remove last notebook style example

* Space formatting to avoid notebook style
2017-06-20 14:48:57 +02:00
Gael Varoquaux b043d643d1 DOC: Comment better the importance of the mask
To address #5921
2015-11-26 07:34:39 +01:00
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
Jaques Grobler cbfe851751 example fixes to clean first docstring paragraph of rst code 2013-07-22 15:48:44 +02:00
Robert Layton dacfd8bd5d DOC: Replaced all BSD style licenses with "BSD 3 clause"
Replaced all BSD style licenses with "BSD 3 clause"
Not checked yet!

Removed duplicate "3 clause, 3 clause"

Removed trailing period if exists

Fixed some missed licences, still about 50 to do, but those can be automated

Think I got the last of them.

Apparently me and sed have different ideas of regex.

Found a few more
2013-04-30 08:34:46 +02:00
Stefano Lattarini 67ece78da4 COSMIT various typofixes
As suggested by codespell <https://github.com/lucasdemarchi/codespell>

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
2013-04-11 21:22:14 +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
kuantkid 46f15875db RENAME rename eigen_tol and eigen_solver, and warning about using old variable name eig_tol and mode 2012-11-27 09:35:45 -05:00
kuantkid 0ef3aadc69 RENAME parameter rename in examples 2012-11-27 09:35:16 -05:00
Andreas Mueller 8199bfd348 ENH fixed ``n_cluster`` to ``n_clusters`` in examples. Thanks @agramfort 2012-05-30 07:41:35 +02:00
Andreas Mueller d9a6243c98 ENH rename k in clustering examples and doctests to n_clusters 2012-05-30 07:41:34 +02:00
Jake Vanderplas 96d6060cd7 pep8 2011-12-23 10:12:26 -08:00
Gael varoquaux 716b1e7105 DOC: improve spectral clustering docs 2011-09-25 21:20:59 +02: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
Emmanuelle Gouillart a0e0e3a1f3 In spectral clustering example, forced the solver to be arpack
(the amg solver is unstable for this example, and results are not
satisfying)
2011-08-20 18:02:20 +02:00
Gael varoquaux 1e5ae890e1 BUG: fix multiple figure plotting 2011-04-02 16:52:41 +02:00
Olivier Grisel 9d5e16b666 trailing spaces holocaust 2010-11-06 15:42:55 +01:00
Alexandre Gramfort ec1514ac19 ENH : more love in examples (adding print __doc__ + some brief descriptions in headers + fixing Anova SVC Pipeline example) 2010-11-02 11:38:06 +01:00
Fabian Pedregosa 48af36792a FIX: fix imports in example for renamed modules. 2010-10-05 14:32:47 +02:00
Gael varoquaux 68ca67ef4f API: Change 'clustering' to 'cluster' 2010-08-27 09:29:29 +02:00