Commit Graph

126 Commits

Author SHA1 Message Date
Lars Buitinck 02d972644a ENH micro-optimize NMF inner loop
Also fixed the random seed on the example.
2013-10-20 19:17:26 +02:00
Olivier Grisel 9cb3b96753 Merge pull request #2222 from FedericoV/Out_of_core_example
[MRG] Added comparison of other classifiers using partial fit methods
2013-09-18 01:18:34 -07:00
Brooke Osborn 72334f1e8d removing NWS from list of stock prices 2013-09-16 11:53:04 +02:00
eustache 572b30d804 COSMIT pep8/257 2013-09-06 18:05:58 +02:00
eustache 9f325a6c0f cosmit pep8/257 2013-09-06 17:45:05 +02:00
Federico Vaggi 5c7050c123 Fixed misc style changes suggested by Ogrisel 2013-09-06 17:44:38 +02:00
Federico Vaggi 4cf42c8380 ENH: Added comparison of other classifiers using partial fit methods 2013-09-06 17:43:08 +02:00
Lars Buitinck 841fb88727 ENH prettier output from NMF example
Better stopword and noise filtering, increased n_samples to 2000
since the recent optimizations to tf-idf and NMF allow this.

Also some micro-optimizations to NMF itself.
2013-09-01 19:04:56 +02:00
Lars Buitinck dedc822edf ENH export randomized_svd publicly
... and don't use an import from utils in an example script!
2013-08-30 10:17:40 +02:00
Lars Buitinck 41b3ddd2d6 ENH speed up NMF (about 30% off topic extraction runtime) 2013-08-30 03:19:28 +02:00
Lars Buitinck af549f2b06 FIX + COSMIT Reuters out-of-core example
* download to scikit_learn_data, not pwd
* copyedited the docs
* rewrote a class as a simple function
* use glob instead of os.walk, the directory structure is flat
* trim output to fit in an 80-column terminal window
* changed some identifiers

XXX there's a bug in the minibatch splitting: I only get 973 test
samples, while a 1000 are requested:

Test set is 973 documents (125 positive)
100 train docs (    14 positive) accuracy: 0.840 in 1.09s (   91 docs/s)
1067 train docs (   166 positive) accuracy: 0.918 in 2.28s (  467 docs/s)
2027 train docs (   310 positive) accuracy: 0.925 in 3.36s (  603 docs/s)
...
2013-08-10 12:55:16 +02:00
Andreas Mueller c7c7ade0e8 FIX don't use old API in examples 2013-07-28 12:58:59 +02:00
Jaques Grobler 65cce1b43c fix merge conflict 2013-07-22 16:20:31 +02:00
Jaques Grobler cbfe851751 example fixes to clean first docstring paragraph of rst code 2013-07-22 15:48:44 +02:00
uber b9673abd54 example yahoo stock issue fix 2013-07-13 21:48:24 -05:00
Jaques Grobler 8861833ec9 DOC spellfixes 2013-06-29 16:18:23 +03:00
Olivier Grisel 63df99d7e2 FIX: do not print to many messages to stdout when generating the documentation 2013-06-26 13:13:20 -05:00
Olivier Grisel 6d4914df4b Make the out-of-core example plot work when launched by the sphinx extension 2013-06-24 01:16:52 -05:00
eustache 77402c20ac more pep257 fixes (not for ReuterStreamReader as it is not really the interesting class here) 2013-06-21 10:31:27 +02:00
eustache 5fcc104e46 some more language corrections 2013-06-21 10:20:08 +02:00
eustache e31c4a70df added sub section on out-of-core scaling in the narrative docs 2013-06-18 10:05:45 +02:00
eustache 9dc2b467d9 more structured iteration using islice + wrappers; renamed chunk for minibatch as the latter seems more common in hte literature 2013-06-17 10:37:24 +02:00
eustache b20accb9dd cosmit : inline extract_instance 2013-06-14 10:43:19 +02:00
eustache 8ed796ec92 added note on test set creation rationale 2013-06-14 09:14:14 +02:00
eustache d63535e4ac factorized instance extraction + plots 2013-06-14 09:09:29 +02:00
eustache 03e9dbe0b0 use same, separate held-out data to estimate accuracy after each mini-batch 2013-06-13 14:57:32 +02:00
eustache 9a58f0aacd more robust data location 2013-06-13 14:57:32 +02:00
eustache 775bfc1800 improve explanations on example structure 2013-06-13 14:56:51 +02:00
eustache d16aa68b71 improve explanations on out-of-core learning paradigm 2013-06-13 14:56:51 +02:00
eustache 0853c68e26 using print() function 2013-06-13 14:56:51 +02:00
eustache 956aa397a3 plot as both a function of time and n_examples 2013-06-13 14:56:51 +02:00
eustache d392666a91 get rif of feature dicts, leverage HashingVectorizer class directly 2013-06-13 14:56:51 +02:00
eustache bfa939d92f pep8 / pep257 compliant formating 2013-06-13 14:56:51 +02:00
eustache 89e6b0def7 revision round #1 (move to examples/applications, 1 file, auto-download dataset) 2013-06-13 14:56:51 +02: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
Jaques Grobler 456b0d010f Merge pull request #1581 from jaquesgrobler/example_gallery_cleanup
MRG Example gallery cleanup
2013-04-18 04:21:05 -07: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
Jaques Grobler 0016ea0843 gallery effects,icon change,cleanups 2013-03-18 13:52:20 +01:00
Lars Buitinck 541987802f P3K range vs. xrange 2013-02-14 02:05:35 +01: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 38b455d541 Cosmit pep8 2012-12-25 13:16:05 +01:00
Alexandre Gramfort c37cef2ff7 FIX : fix application example due to API change 2012-10-27 15:38:19 +02:00
Andreas Mueller 9bd0aadaa3 MISC renamed n_iterations to n_iter in all other places. 2012-10-10 19:10:29 +01:00
Lars Buitinck 3ca3e95b72 DOC rm references to deprecated stuff 2012-09-20 22:15:39 +02:00
Andreas Mueller 63e99023b6 DOC fixed some sphinx errors, issues in docs.... 2012-09-03 23:48:32 +01:00
Andreas Mueller 5ad3bc672c ENH rename out_dim to n_components in manifold module 2012-05-06 16:08:25 +02:00
Andreas Mueller f921e8e474 COSMIT rst in example 2012-05-05 20:03:00 +02:00
Lars Buitinck c7bec7aeaf DOC typo in example 2012-04-26 00:58:01 +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 f56ffb542a Made old EllipticEnvelop deprecated class
-renamed to **EllipticEnvelope**
-Examples updated
2012-03-26 17:16:58 +02:00