Commit Graph

34 Commits

Author SHA1 Message Date
Pramod Anantharam f853e78b0a
MNT Speed up of plot_face_recognition.py example (#21725) 2021-12-15 11:05:48 +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
Thomas J. Fan 81dde3a6e5
STY Ensures that "flake8 ." works (#20298) 2021-06-18 15:46:40 +02:00
Archana Alva 40b2a6c7e3 EXA Removing redundant parameters assignment in examples (#14360) 2019-07-14 22:26:41 +08:00
Guillaume Lemaitre 9adba491a2 [MRG] DEP change the default of cv and n_splits (#13839) 2019-05-29 23:39:20 +10:00
Guillaume Lemaitre 69eb4d4678 [MRG] DEP change default and deprecate iid in SearchCV (#13834) 2019-05-09 14:26:05 +02:00
surgan12 62d2059804 MNT remove __future__ imports (#12791) 2019-02-02 22:05:06 +08:00
Adrin Jalali 69c8967e21 DOC Fix warnings in examples (#12654)
Fixe or suppresses many warnings in examples, including matplotlib complaining about the non-gui backend.
2019-01-17 21:41:13 +11:00
Hanmin Qin 8890b50606 [MRG+1] EXA Set cv=5 in examples (#11856)
* EXA Set cv=5 in examples

* small mistake

* [doc build]

* [doc build]

* cross_val*

* [doc build]

* [doc build]
2018-08-20 15:22:42 -04: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
Loïc Estève 719afba518 [MRG] Run more examples as part of the doc generation (#8851)
Also fix errors and flake8 violations of existing examples
2017-05-11 23:42:57 +02:00
Jaques Grobler ca50d31a42 Removed `_plot` from the face recognition example
updated tutorial page to use static image.
2012-04-03 13:20:01 +02:00
Jaques Grobler bd271ab65c Better doctest time(wip),removed duplicate examples, update plot_ols.py
- I wish to replace the old plot_ols.py example with a new one which
  uses the diabetes_dataset instead of synthetic data.
- references to changed example paths updated
2012-03-05 17:18:05 +01:00
Jaques Grobler 75e2d1073a removed redundant file 2012-03-05 16:44:18 +01:00
Olivier Grisel 7ad9bcde22 DOC: make the face recognition example static (to avoid having to download the dataset to build the doc) 2011-04-11 13:55:52 +02:00
Olivier Grisel 208915f8b7 FIX: stupid statement in plot_face_recognition 2011-04-11 01:32:14 +02:00
vene 53c92b036c API: components_ shape fixed in PCA classes 2011-04-05 10:13:50 +03:00
vene 87ebf1e183 Merge branch 'master' into decomposition
Conflicts:
	examples/plot_pca_vs_lda.py
2011-04-04 14:44:17 +03:00
vene ea2aa805f4 Decomposition module WIP 2011-04-04 14:31:48 +03:00
Olivier Grisel 4ecd8e9a25 ENH: factorize some plot code in face recognition example 2011-04-03 19:27:36 +02:00
Olivier Grisel cf29b7a98c ENH: do not download LFW when building the documentation by default 2011-04-03 02:26:50 +02:00
Olivier Grisel 4073e15edd ENH: plot eigencefaces in face recognition example 2011-04-02 17:58:45 +02:00
Olivier Grisel 637c70038c renamed load_* to fetch_* when network connection is potentially involved 2011-03-19 18:39:45 +01:00
Olivier Grisel 123c0f8c11 better name: rename class_names to target_names for consistency 2011-02-27 12:15:50 +01:00
Olivier Grisel d7a1ddd6c1 better looking example 2011-02-21 02:19:28 +01:00
Olivier Grisel 3a28fd366c remove stupid color slicing 'feature' and shuffle the examples 2011-02-21 01:40:50 +01:00
Olivier Grisel 6609703cb3 make it possible to load the LFW people dataset using the scikits.learn.datasets infra 2011-02-20 21:08:28 +01:00
Fabian Pedregosa 88d796823d Change link in plot_face_recognition.
Some hosts block dropbox.
2010-12-14 19:19:24 +01:00
Olivier Grisel d7609b38a7 consistently rename n_comp to n_components 2010-12-10 20:04:51 +01:00
Olivier Grisel 5142eb6d43 pep8 2010-12-09 09:05:27 +01:00
Olivier Grisel 42c246b7b5 use a grid search for the SVM params in the faces example 2010-12-08 11:17:18 +01:00
Olivier Grisel ea494a0a27 ENH: make the PCA transformer perform variance scaling by default + update the face recognition accordingly 2010-12-07 21:20:06 +01:00
Olivier Grisel 9847703415 moving real word examples to the applications subfolder 2010-12-05 21:40:38 +01:00