Commit Graph

144 Commits

Author SHA1 Message Date
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
Vinayak Mehta 679936f6bc MAINT Deprecate LDA/QDA in favor of expanded names
The LDA accronym for Linear Discriminant Analysis is ambiguous
because of the newly introduced Latent Dirichlet Allocation model.

We therefore deprecate the sklearn.lda.LDA and sklearn.lda.QDA
in favor of explicit names.
2015-09-11 15:32:11 +02:00
Andreas Mueller 5b247f90e4 move around examples for better structure. 2014-07-17 09:35:30 +02:00
Alexander Fabisch f59e08f21f Correct examples 2014-05-28 20:04:46 +02:00
Alexander Fabisch 08c17d24c5 Use PCA initialization in examples 2014-05-28 19:56:10 +02:00
Alexander Fabisch 91e95df436 Integrate PCA initialization
* update docstring
* add tests
2014-05-28 19:56:09 +02:00
Olivier Grisel 58bcbaf0bd Add optional PCA init to t-SNE 2014-05-28 19:56:09 +02:00
Alexander Fabisch 25a8c5f05a Adress Gael's comments
* rename _binary_search to _utils
* indent list elements
* use default parameters in examples
2014-05-28 19:56:09 +02:00
Alexander Fabisch 8d0fadabbc Remove generalization 2014-05-28 19:56:09 +02:00
Alexander Fabisch 1b668d471c Explain example 2014-05-28 19:56:09 +02:00
Alexander Fabisch 43b41f1ff7 Modify learning schedule 2014-05-28 19:56:09 +02:00
Alexander Fabisch 5de4c7ddc6 Remove example with digits dataset 2014-05-28 19:56:09 +02:00
Alexander Fabisch 8c969cb011 Add t-SNE to other examples 2014-05-28 19:56:09 +02:00
Alexander Fabisch 53e015c961 Simplify optimization
* remove L-BFGS, gradient descent finds better visualizations (although the cost is often higher)
* learning_rate is a parameter
* learning schedule:
    * initialize embedding with standard deviation 1
    * 100 episodes with early exaggeration
    * 20 iterations with momentum 0.5
    * then switch to momentum 0.8
    * default learning rate is 100, reasonable range is 100-500
2014-05-28 19:54:15 +02:00
Alexander Fabisch 4f2154a3e7 Compare t-SNE with other manifold learners 2014-05-28 19:54:15 +02:00
Alexander Fabisch 7a1f84eb69 Generalize with average of nearest neighbors 2014-05-28 19:51:08 +02:00
Alexander Fabisch da43e4c230 Add t-SNE 2014-05-28 19:51:08 +02:00
Rajat Khanduja 5e20b8c664 Fixed pep8 violations. Some 'line too long' errors still remain. 2014-05-15 09:23:16 +05:30
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
Andreas Mueller 26eb3c606f DOC/EXAMPLES fix more documentation errors, deprecated api usages. 2013-07-28 15:01:48 +02:00
Jaques Grobler 8861833ec9 DOC spellfixes 2013-06-29 16:18:23 +03: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
Andreas Mueller 4f1bc46fc1 COSMIT pep8 in examples 2013-01-17 12:51:12 +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 9e3ef3985e DOC some sphinx fixes 2013-01-16 22:51:24 +01:00
Andreas Mueller 685c6529b6 ENH rename proximity to dissimilarity 2013-01-07 09:41:48 +01:00
andy 1aacfbede8 ENH updated to more examples. 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
Arnaud Joly 12c8d3be79 ENH Rename Bernoulli random projection to sparse random projection 2012-12-21 14:48:01 +01:00
Arnaud Joly eb67e016eb FIX typo mistakes 2012-12-21 14:47:58 +01:00
Arnaud Joly 6cc099771c FIX example import (name changed) 2012-12-21 14:34:23 +01:00
Olivier Grisel 110842ab64 use random projections in the digits manifold example 2012-12-21 14:34:18 +01:00
kuantkid 0e77bcecd9 FIX spectral_embedding test erros, ADD spectral embedding to sphere examples 2012-12-13 13:05:28 +08:00