Guillaume Lemaitre
3195a5f645
MAINT change the default of normalized_stress ( #27858 )
2023-11-28 10:09:12 +01:00
Dimitri Papadopoulos Orfanos
0f43434e0c
DOC fix typos found by codespell ( #27457 )
2023-09-26 15:31:28 +02:00
Tamara
51ca717db5
DOC fix random_state in example for reproducibility cont'd ( #27238 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-09-07 12:01:54 +02:00
Adrin Jalali
42173fdb34
MNT add isort to ruff's rules ( #26649 )
2023-06-21 17:50:07 +02:00
Dimitri Papadopoulos Orfanos
6ca4970ca2
MAINT Remove encoding declarations: `# -*- coding: utf-8 -*-` ( #26467 )
2023-05-31 17:26:00 +02:00
krishna vamsi
d47b1c88a6
DOC remove FutureWarnings in plot_manifold_sphere example ( #24941 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-11-17 18:20:25 +01:00
Maxim Smolskiy
a6f7806ee3
DOCremove FutureWarning in manifold/plot_mds.html ( #24940 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-11-15 19:05:51 +01:00
Maxim Smolskiy
edb2c86bd9
DOC Fix FutureWarning in manifold/plot_lle_digits.html ( #24922 )
...
Co-authored-by: Tim Head <betatim@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-11-15 17:11:36 +01:00
Maxim Smolskiy
bf573bd20e
DOC Fix FutureWarning in manifold/plot_compare_methods.py ( #24909 )
2022-11-14 19:24:37 +01:00
Meekail Zain
6e811987a3
EXA fix removed poor parameter choice from plot_compare_methods.py ( #24517 )
2022-09-27 10:34:44 +02:00
Guillaume Lemaitre
5da77c1501
MAINT Clean deprecation for 1.2: learning_rate and init in TSNE ( #24389 )
...
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-09-09 11:08:04 +02:00
Jordan Silke
0ff613e8dd
MNT handle warnings in plot_manifold_sphere.py ( #23124 )
...
* Remove Axes3D and associated warning.
* Remove learning rate warning from example.
* Ignore both TSNE FutureWarnings.
* Fix typo.
* Add required import for 3d projections with matplotlib < 3.2
* Add comment to skip linting for line 40.
* Add suggested revisions re:explicit warning handling and import location.
* Relocate warning handling comment to more relevant position.
* Fix linting error.
2022-04-13 13:41:34 -04:00
Loïc Estève
98df647ab1
EXA: fix example for matplotlib 3.1 ( #23083 )
2022-04-08 20:36:36 +02:00
Dimitri Papadopoulos Orfanos
ee5a1b69d1
DOC, MNT Typos found by codespell ( #22906 )
2022-03-20 19:16:39 +01:00
Oleksandr Husak
bc44ea7ae8
DOC use notebook-style and fix matplotlib warning for plot_compare_methods ( #22679 )
2022-03-07 10:40:57 +01:00
Thomas J. Fan
1fc86b6aac
MNT Update black to stable version ( #22474 )
2022-02-15 11:36:26 +01:00
Meekail Zain
38173e9c4e
DOC Fix MDS images in user guide ( #22465 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-02-14 11:17:50 +01:00
Xiao Yuan
5900e2660f
DOC Accelerate examples/manifold/plot_compare_methods.py ( #21635 )
...
* Accelerate plot_compare_methods.py
* Change tsne perplexity
2022-02-08 11:10:56 +01:00
siavrez
f57a5f9bc0
MNT accelerate example plot_lle_digits.py ( #21736 )
2021-11-24 08:56:21 +01:00
Xiao Yuan
f695147445
DOC Accelerate plot_t_sne_perplexity.py ( #21636 )
2021-11-16 15:31:58 +01:00
Sebastian Pujalte
5131284e19
ENH Add Swiss-Hole dataset and expand example ( #21482 )
...
* added hole to swiss roll and expanded example
* Fixed docstring for numpydoc validation
* Changed error from original docstring.
* Added test for swiss hole
Codecov check was failing because there was no test for the addition of the swisshole. I simply expanded the original test to include it.
* Formatting
* Revert "Formatting"
This reverts commit 727505b21b .
* Revert "Added test for swiss hole"
This reverts commit ae788641f1 .
* Added test for Swiss Hole
* fixed test
* added changelog
* Set random state when creating the swiss roll in exampple.
* Set random state when creating the swiss hole in exampple.
* Changed test with reccommendation
* Apply suggestions from code review of plots.
Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
* Apply grammar and naming suggestions from code review
Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
* Defined LLE and t-SNE acronyms at beginning
* Linting
Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
2021-11-12 09:51:14 -08: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
Guillaume Lemaitre
1d7d6283c1
DOC reformatting example as notebook style ( #20543 )
...
Co-authored-by: Guillaume Lemaitre <glemaitre@Guillaumes-MacBook-Air.local>
2021-07-19 17:54:14 +02:00
geroldcsendes
bdf79d53a8
DOC Fix color palette in manifold example ( #19517 )
2021-06-19 10:18:30 +02:00
Thomas J. Fan
81dde3a6e5
STY Ensures that "flake8 ." works ( #20298 )
2021-06-18 15:46:40 +02:00
Tom Dupré la Tour
f6e6ad2d9e
MNT clean futurewarning for 1.0 | _deprecate_positional_args ( #20002 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-05-14 11:30:27 -04: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
Christian Lorentzen
79b0943de0
DOC avoid FutureWarnings for deprecations examples ( #17264 )
...
* MNT keyword only in examples
* MNT pandas 1.0.0 deprectation
See pandas-dev/pandas#23566
* MNT new keyword in 0.23
2020-05-18 18:35:12 +02:00
David Breuer
c393bdc6dd
EXA/MAINT Simplify code in manifold learning example ( #15949 )
2019-12-26 13:02:31 +01:00
Brian Wignall
0e10b3a3cb
DOC Fix typos, via a Levenshtein-style corrector ( #15923 )
2019-12-19 16:26:02 -08:00
Thomas J Fan
4a95e33e63
MNT Make modules private in sklearn.datasets ( #15307 )
2019-10-27 17:17:23 -04:00
Kennedy Kang'ethe
5310b87288
DOC Fix "Variables are collinear" warning in plots_lle_digits ( #14162 )
2019-07-01 11:23:53 +02:00
MaggieChege
6c56316e73
DOC Fix divide by zero warning ( #14147 )
2019-06-26 21:10:07 +10:00
William de Vazelhes
d31b67f23d
FEA Neighborhood Components Analysis ( #10058 )
2019-02-28 15:58:07 +01:00
TakingItCasual
f4e7d2b19a
Converting http to https (3)... ( #12302 )
2018-10-05 18:50:31 +02:00
ZJ Poh
adddf00433
[MRG] np.ones -> np.full ( #11628 )
2018-07-23 09:49:01 +02:00
Alexandre Gramfort
553b5fb8f8
BLD fix sphx gallery errors ( #11307 )
2018-06-18 16:07:33 +10:00
Arik Pamnani
d3f8b1e131
Use X and y in plot_lle_digits.py ( #10970 )
...
rather than digits.data and digits.target
2018-04-13 08:07:32 +02:00
Loïc Estève
db127bd969
[MRG+1] Support minimal dependencies in examples ( #10351 )
...
* Support minimal dependencies in examples
* bins="auto" only supported for numpy >= 1.11
* viridis is default cmap in matplotlib 2
* Use signature instead of viridis cmap
2018-01-08 21:36:28 +01:00
Thomas Moreau
cb1b6c4734
FIX t-SNE memory usage and many other optimizer issues ( #9032 )
...
Use a sparse matrix representation of the neighbors.
Re-factored the QuadTree implementation to avoid insertion errors.
Various fixes in the gradient descent schedule to get the Barnes Hut and exact solvers to behave more robustly and consistently.
2017-07-12 22:56:02 +02:00
Narine Kokhlikyan
ae8223356b
Add example on t-sne perplexity
2017-06-30 21:10:41 +02:00
Rishikesh
d0ce40e8b2
[MRG] remove "matplotlib <1" compatibility code from manifold examples ( #8552 )
2017-03-10 08:25:37 +01:00
Óscar Nájera
bd5cecce44
update references link namespace
2016-08-03 20:23:50 +02:00
Nelson Liu
d2aaf0f4bb
doc: fix spellings of 'license'
2016-03-31 17:25:31 -07:00
Rémy Léone
9b7176dd9d
[DOC] Fix broken links
2016-03-23 12:45:34 -07:00
Andreas Mueller
5b1aca08c2
MAINT Don't use deprecated 1d X (or deprecated matplotlib stuff) in examples.
2015-12-10 12:11:48 -05:00
johannah
d15f322111
Added colorblind compatibility
2015-10-23 19:47:32 +02:00
Loïc Estève
32ab5b5d24
DOC fix missing import in plot_lle_digits example
...
and remove unused lda import.
2015-10-15 21:16:20 +02:00