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
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
MaggieChege
6c56316e73
DOC Fix divide by zero warning ( #14147 )
2019-06-26 21:10:07 +10:00
ZJ Poh
adddf00433
[MRG] np.ones -> np.full ( #11628 )
2018-07-23 09:49:01 +02:00
Nelson Liu
d2aaf0f4bb
doc: fix spellings of 'license'
2016-03-31 17:25:31 -07:00
johannah
d15f322111
Added colorblind compatibility
2015-10-23 19:47:32 +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
Andreas Mueller
f5cfa64787
DOC mds example: suppress warning for explicit initialization
2013-01-16 22:57:36 +01:00
Andreas Mueller
44fe9be14f
DOC fix in mds example (new interface)
2013-01-16 22:54:13 +01:00
Andreas Mueller
685c6529b6
ENH rename proximity to dissimilarity
2013-01-07 09:41:48 +01:00
andy
791a2241aa
FIX another typo, fix examples
2013-01-07 09:41:48 +01:00
Nelle Varoquaux
9301f149a7
FIX the mds example did not plot the NMDS
2013-01-01 15:04:06 +01:00
Nelle Varoquaux
d26c7cf927
MDS: documentation fixes
2012-06-01 18:24:21 +02:00
Nelle Varoquaux
c4d2fe04c6
MDS: renamed positions_ to embedding_
2012-06-01 18:24:21 +02:00
Gael Varoquaux
6b6fb393a9
COSMIT in plot_mds.py example
...
Also, casting to float instead of ints was important as recent numpy
versions will not accept X -= X.mean() with ints (inplace operation
between different dtypes)
2012-06-01 18:24:21 +02:00
Nelle Varoquaux
47071524dd
Set the seed of the random_state generators to have nicely aligned results
2012-06-01 18:24:21 +02:00
Nelle Varoquaux
73b98d4d7e
Small explanation on the plot_mds example
2012-06-01 18:24:21 +02:00
Nelle Varoquaux
06fc359fe9
a += a.T is different from a = a + a.T
2012-06-01 18:24:21 +02:00
Nelle Varoquaux
e2e545f4e7
DOC: added references to papers and licence - fixed the MDS example
2012-06-01 18:24:21 +02:00
Nelle Varoquaux
5b53e8dd77
MDS: out_dim → n_components
2012-06-01 18:24:20 +02:00
Nelle Varoquaux
5d801498bc
Replaced MDS US mileage distance example by a generated, more representative one
2012-06-01 18:24:20 +02:00
Nelle Varoquaux
62a348406c
Changed dataset from france's mileage to knuth's USA mileage dataset
2012-06-01 18:24:20 +02:00
Nelle Varoquaux
81b75a8a16
Fix errors due to previous refactoring on MDS
2012-06-01 18:24:20 +02:00
Nelle Varoquaux
d09ed68a14
Added docstrings to MDS
2012-06-01 18:24:20 +02:00
Nelle Varoquaux
ec72b7230e
Added documentation on MDS
2012-06-01 18:24:20 +02:00