Commit Graph

60 Commits

Author SHA1 Message Date
Joel Nothman b3bdb08964 DOC fix formatting of attributes etc. in docstrings 2014-07-28 19:04:59 +10:00
MechCoder bbb140aaf0 ENH: Added n_iter_ parameters across all iterative solvers 2014-07-22 15:09:39 +02:00
Andreas Mueller c235c3b566 ENH add allowed_sparse named argument for @ogrisel 2014-07-20 15:31:28 +02:00
Andreas Mueller 6e2a83b4e1 remove check_arrays stuff and old input validation 2014-07-20 13:31:45 +02:00
Andreas Mueller e6e9fb6490 Make fit_transform and fit().transform() equivalent in nmf 2014-07-18 17:22:02 +02:00
Andreas Mueller c7db70ac9f removed unused variables and imports, add used imports where missing. 2014-06-08 21:44:01 +02:00
Lars Buitinck fb795ebef0 ENH factor out squared norm helper 2014-04-08 23:02:54 +02:00
Lars Buitinck 0abe21eaac MAINT remove some deprecated stuff 2014-03-12 13:33:42 +01:00
Lars Buitinck abe3d05b4c COSMIT micro-optimize norm computation in NMF
... for clarity, although it should also be slightly faster, and
corrected a docstring while I was there.
2013-10-30 23:31:13 +01:00
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
Lars Buitinck a2a4257bc6 ENH optimize NMF inner loop
The call to np.maximum was taking 20% of the time.
Multiplying by Hn > 0 is about twice as fast.

This reverts commit 6ef08cfac2.
2013-10-01 18:09:58 +02:00
Lars Buitinck 6ef08cfac2 FIX failing test in NMF due to negative zeros 2013-09-02 14:03:06 +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 c64163f822 wip 2013-09-01 16:47:04 +02:00
Lars Buitinck 41b3ddd2d6 ENH speed up NMF (about 30% off topic extraction runtime) 2013-08-30 03:19:28 +02:00
Vlad Niculae 7aac367666 Use scipy.nnls.optimize for dense data 2013-07-27 16:12:19 +02:00
Vlad Niculae ae74c9df86 Use same parameters when solving the transform 2013-07-27 16:12:19 +02:00
Vlad Niculae 206d22793d Use projected gradient solver in transform to support sparse matrices 2013-07-27 16:12:19 +02:00
Lars Buitinck 77695ee27a COSMIT pep8 2013-07-11 11:50:23 +02:00
Jaques Grobler 8861833ec9 DOC spellfixes 2013-06-29 16:18:23 +03:00
Jaques Grobler 2ffb484adb COSMIT pep8 2013-05-04 10:43:39 +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
Mathieu Blondel 9cf9e9f335 Fixx doctest. 2013-04-10 00:32:16 +09:00
Mathieu Blondel 8a473b6e12 BUG: fix replacement for _neg. 2013-04-09 23:37:21 +09:00
Mathieu Blondel d3bc5ac1ba Demystify magic values in NNLS implementation. 2013-04-09 23:25:50 +09:00
Mathieu Blondel 5ece0e12c6 Cosmit: more idiomatic way of clipping to zero.
The test also runs 300 milliseconds faster on my machine (1.3s instead
of 1.6).
2013-04-09 23:07:04 +09:00
Andreas Mueller bb7da14726 COSMIT typo 2013-03-10 23:05:21 +01:00
Andreas Mueller 01a745eb96 DOC FIX column span alignment problem in NMF ^^ 2013-03-10 19:24:58 +01:00
Andreas Mueller 21ba76d4a4 DOC some sphinx / rst fixes 2013-03-10 18:45:23 +01:00
Andreas Mueller a3b55f4eae ENH fix test_estimators_overwrite_params to also test regressors and transformers. Then fix all the regressors and transformers ... meh! 2013-02-11 17:13:25 +01:00
Olivier Grisel 1967a0b323 P3K use six to have a python 2 & 3 compatible code base 2013-02-09 18:08:44 +01:00
Vlad Niculae 9f1c346c66 FIX: variable naming inconsistency in NMF 2013-02-09 11:41:28 +00:00
Alexandre Gramfort a119337a23 adding comment on why sparse frobenius is ok as done 2013-01-23 19:38:23 +01:00
Alexandre Gramfort f7e002345f ENH : add reconstruction_err_ for NMF with sparse input 2013-01-22 14:20:52 +01:00
Mathieu Blondel 9095baa37c Add missing types to docstring. 2013-01-08 23:29:33 +09:00
Mathieu Blondel 788a8dd390 X is not a constructor parameter. 2013-01-08 23:18:42 +09:00
Andreas Mueller 966e10c252 COSMIT PEP8 2012-12-22 16:48:17 +01:00
Andreas Mueller 754c2d9533 COSMIT pep8 2012-12-22 16:48:17 +01:00
Xinfan Meng 2468cbf336 DOC Change URLs of NNDSVD papers to avoid paywall 2012-11-15 13:23:28 +01:00
Xinfan Meng 7d707c4092 Fix broken links 2012-11-15 15:33:09 +08:00
GaelVaroquaux bdb0f64d5e COSMIT 2012-11-09 11:51:54 +01:00
Andreas Mueller 9be9072a81 FIX hotfix for NMF sparsity problem 2012-11-07 16:08:42 +01:00
Andreas Mueller 1406cdfbb7 ENH use the numbers module introduced in Python 2.6 to check for number types.
Fixes 1255.
2012-10-24 18:44:53 +02:00
Andreas Mueller 912f2bc009 FIX fixed typo in code, added smoke test. 2012-09-17 23:49:24 +01:00
Andreas Mueller 109b07a20e ENH in NMF only use svd initialization by default if n_components < n_features. 2012-09-17 23:49:24 +01:00
Andreas Mueller 4b60c026ce Merge pull request #513 from amueller/doc_underscores_for_real
Fixing RST errors in the documentation and trying to make docs a little more consistent.
2011-12-31 05:46:43 -08:00
Olivier Grisel 0f6c525d7e ENH: renamed fast_svd to randomized_svd + related improvements 2011-12-31 14:31:55 +01:00
Andy bed5f4c1e8 FIX: fix again errors in NMF after merge 2011-12-29 14:27:16 +01:00
Mathieu Blondel 9ad004f517 Break down fit_transform into parts. 2011-12-26 23:25:35 +01:00
Mathieu Blondel 03a4e3b38d Add missing reference. 2011-12-26 23:09:36 +01:00