Dimitri Papadopoulos Orfanos
ee5a1b69d1
DOC, MNT Typos found by codespell ( #22906 )
2022-03-20 19:16:39 +01:00
Amar pratap singh
5a9b2ce0a7
DOC Update notebook-style for example plot_image_denoising ( #22739 )
2022-03-17 14:19:53 +01:00
Oleksandr Husak
2577dc99bb
DOC use notebook-style for plot_faces_decomposition ( #22452 )
2022-03-02 14:00:32 +01:00
Jérémie du Boisberranger
34f9dbf541
MNT Clean fixes and compat for old versions of our dependencies ( #22642 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-03-02 11:32:06 +01:00
Koushik Joshi
4fe72f7f04
DOC Fix axes3d matplotlib deprecation warning ( #22622 )
2022-02-27 08:34:49 -05:00
Maxwell
44ed1ad8aa
DOC Fix matplotlib warning for plot_pca_3d.py ( #22591 )
...
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-02-24 15:56:57 +01:00
Thomas J. Fan
1fc86b6aac
MNT Update black to stable version ( #22474 )
2022-02-15 11:36:26 +01:00
Chiara Marmo
49588ff1e6
DOC Fix sphinx warnings related to example reformatting. ( #22147 )
2022-01-08 15:21:39 -05:00
nastegiano
eed85ce70c
Accelerate plot_image_denoising.py ( #21799 )
2021-12-06 14:45:22 +01:00
Gauthier I
248f6cf315
ENH Impoving execution speed of plot_pca_vs_fa_model_selection.py by … ( #21671 )
...
* ENH Impoving execution speed of plot_pca_vs_fa_model_selection.py by dividing by 2 parameters n_samples, n_features, rank
* Update docstring according to @ogrisel 's comment
* ENH Impoving execution speed of plot_pca_vs_fa_model_selection.py by dividing by 2 parameters n_samples, n_features, rank
* Update docstring according to @ogrisel 's comment
2021-11-20 15:34:53 +01:00
Guillaume Lemaitre
d5ce9c4966
DOC improve kernel PCA example ( #19945 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Christos Aridas <chkoar@users.noreply.github.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2021-11-04 08:40:33 +01:00
Jérémie du Boisberranger
c4983148f3
MNT Finalize the change of the default `init` of NMF ( #21500 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-10-30 16:20:47 +02: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
Dimitri Papadopoulos Orfanos
5f6e17c084
MNT Remove #!/usr/bin/python shebang in examples ( #21246 )
2021-10-14 18:51:09 +02:00
Thomas J. Fan
70a185ae59
MAINT Enable and run black on examples ( #20502 )
2021-10-07 10:13:00 +02:00
Pierre-Yves Le Borgne
83398f4470
DOC fix a typo in plot_varimax_fa.py ( #20676 )
...
typo in an example
2021-08-04 20:24:34 +02:00
Thomas J. Fan
81dde3a6e5
STY Ensures that "flake8 ." works ( #20298 )
2021-06-18 15:46:40 +02:00
Tommaso Di Noto
f697181706
MNT Remove unused line in example ( #20273 )
2021-06-15 11:42:21 -07:00
Jona Sassenhagen
5e193ec655
[MRG] varimax rotation for factor analysis ( #11064 )
...
* init varimax
* fix py2 and add example text
* fix print again
* test, docs
* fix test
* fix doctstring
* np.allclose for test
* add refrence
* address comments
* update
* Fix linting failure.
* Fix deprecation warning.
* a bit of cleanup
* Address @jnothman's review comments.
* Update section divider
* Add note in what's new page and versionadded to docstring.
Co-authored-by: Eric Prestat <eric.prestat@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-07-05 21:29:08 +02:00
Thomas J. Fan
7cc0177f8e
MNT Replaces numpy alias with builtin typse ( #17687 )
...
* MNT Replaces numpy alias with builtin typse
* STY Lint error
2020-06-24 16:51:51 +02:00
Hirofumi Suzuki
c29092d699
MNT define a parse_version function in sklearn.utils.fixes ( #17670 )
...
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-06-24 13:35:49 +02:00
Juan Carlos Alfaro Jiménez
c298cb771d
MNT Fix documentation build due to failure in plot_ica_vs_pca ( #17629 )
2020-06-18 10:22:17 +02:00
Saurabh Jain
00bc681e10
DOC shorten class links in docstring using tilde ( #17470 )
...
* added tilde to bunch of files
* Updated _kde.py
Changed array_like to array-like
* Updated _kde.py
Removed space
* updated _kde.py
Added full stop
* PEP8
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-16 10:44:13 +02:00
Nicolas Hug
226e5c478d
MNT Use Vt instead of V as returned by svd() ( #17100 )
2020-05-05 19:52:07 +02:00
Thomas J Fan
5756a9934b
MNT Make modules private in decomposition ( #15344 )
2019-10-28 22:46:16 +08:00
Chiara Marmo
6bd8df099f
DOC Fix warnings about references and links ( #14976 )
2019-09-23 11:49:08 -04:00
Sourav Singh
f8e4cc495a
ENH Add return_X_y to 20_newsgroups and olivetti_faces ( #14259 )
2019-07-20 10:30:09 +08:00
Archana Alva
40b2a6c7e3
EXA Removing redundant parameters assignment in examples ( #14360 )
2019-07-14 22:26:41 +08:00
Adrin Jalali
7b8cbc875b
ENH add a `transform_max_iter` to `SparseCoder`, `DictionaryLearning`, and `MiniBatchDictionaryLearning` ( #12682 )
2019-07-08 16:10:29 -05:00
Reza Gharibi
3ab22f973f
[MRG] Fix overlapped plot in the ICA example ( #14213 )
2019-06-28 10:45:15 -07:00
Guillaume Lemaitre
9328581ec5
FIX use CD solver in face decomposition to use postive parameter ( #13975 )
2019-05-29 15:05:02 +02:00
Guillaume Lemaitre
a98db9a4d6
DEP change default and deprecate normalize_components in SparsePCA ( #13838 )
2019-05-29 12:06:50 +02:00
Hanmin Qin
a300e7c0cd
EXA Avoid overlapping subplots in plot_kernel_pca.py ( #13870 )
2019-05-13 11:22:31 -07:00
xinyuliu12
933f80a32d
MAINT: reduce example execution time of plot_image_denoising.py ( #13683 )
2019-04-23 20:56:11 +02: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
Mickaël Schoentgen
2df594564d
EXA Fix several DeprecationWarning: invalid escape sequence in examples ( #12924 )
2019-01-05 12:22:36 +08: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
Ivan PANICO
6eb19831d1
BUG: centering and fixing scaling issue in SparsePCA ( #11585 )
2018-07-21 00:00:15 +02:00
Loïc Estève
20b19f8415
Remove FutureWarning about rcond by specifying it explictly ( #11571 )
2018-07-17 19:33:36 +02:00
jakirkham
6ce497c3bc
[MRG] ENH: Optional positivity constraints on the dictionary and sparse code ( #6374 )
...
* ENH: Add positivity option for code and dictionary
Provides an option for dictionary learning to positively constrain the
dictionary and the sparse code. This is useful in applications of
dictionary learning where the data is know to be positive (e.g. images),
but the sparsity constraint that dictionary learning has is better
suited for factorizing the data in contrast to other positively
constrained factorization techniques like NMF, which may not be
similarly sparse.
* TST: Test positivity with code and dictionary
Ensure that when the positivity constraint is applied that the
dictionary and code end up having only positive values in the respective
results depending on whether dictionary and/or code are positively
constrained.
* DOC: Positivity constraints dictionary learning
Shows the various positivity constraints on dictionary learning and what
the results of these look like using a Red to Blue color map. These are
included in the examples and also in the docs below dictionary learning.
All of these use the Olivetti faces as a training set.
2018-06-21 16:36:48 +02:00
Hanmin Qin
6f7394953b
EXA avoid use of matplotlib.cm.spectral which has been removed ( #10764 )
2018-03-07 16:49:45 +11:00
Hanmin Qin
32ac22870d
[MRG+1] Fix warnings in lgtm.com (remove redundant code) ( #9719 )
2017-09-14 11:42:58 +02:00
Aarshay Jain
a74d31a339
ENH 13 more examples fixed with matplotlib 2.0 ( #9029 )
2017-06-28 14:56:27 +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
DOHMATOB Elvis
f4b230cc65
BF: fixing error on plot_image_denoising.py with Python 2.7 ( #9003 )
2017-06-06 14:36:13 +02:00
Naoya Kanai
bd0fc236e0
[MRG+1] MAINT drop SciPy < 0.13 ( #8854 )
...
Remove sklearn.utils.fixes functions that are not needed for scipy >= 0.13 and keep deprecated wrappers in other modules.
2017-06-02 23:36:33 +02:00
Alison
34a3c99b88
[MRG+1] add edgecolor to plot_pca_iris.py ( #8514 )
...
for better rendering with matplotlib 2
2017-03-09 18:54:38 +01:00
Aman Dalmia
13cc121b30
[MRG] Remove DeprecationWarnings in examples due to using floats instead of ints ( #8040 )
2017-02-03 15:21:03 +01:00
Tom Dupré la Tour
ae4f7104d6
[MRG+1] Add multiplicative-update solver in NMF, with all beta-divergence ( #5295 )
2016-12-12 16:10:39 +01:00
Alexandre Abadie
29992d958f
add explicit comment in face decomposition example
2016-09-19 14:27:07 +02:00