Commit Graph

452 Commits

Author SHA1 Message Date
Andreas Mueller cd63accc05 Add test that score takes y, fix KMeans, FIX pipeline compatibility of clustering algorithms! 2015-02-06 13:26:42 +01:00
Raghav R V b3fbccca38 FIX various mismatch between docstring and signature params
DOC max_iterations -> max_iter. Make it consistent with kmeans

MAINT Replace the deprecated dx parameter with d in the docstrings

MAINT Deprecation warning for max_iterations parameter.
2015-01-16 11:54:57 -05:00
Raghav R V b8ffa951b1 FIX Make error message more explicit in fit_inverse_transform 2015-01-12 00:33:40 +05:30
Raghav R V abd31d2cad MAINT Make uniform the error raised for not fitted condition 2015-01-12 00:33:40 +05:30
Andreas Mueller 4e270a5157 remove deprecation tests. 2014-12-29 14:00:06 -05:00
Andreas Mueller 46c1c42131 remove deprecated ``n_bootstraps`` parameter in Bootstrap cv object, verbose in FactorAnalysis and SelectorMixin. Also adjust some deprecation strings. 2014-12-29 13:53:42 -05:00
gpassino 969e677353 DOC fix kernels documentation inconsistencies
Fixes gh-3916, gh-2901.
2014-12-01 11:51:36 +01:00
Kyle Kastner 5f8271f60c Updated what's new to add IncrementalPCA 2014-09-23 10:14:45 -04:00
Kyle Kastner b2d6a30aeb IncrementalPCA implementation 2014-09-22 13:12:29 -04:00
Thomas Unterthiner 52adb5cae7 ENH Add 'axis' argument to sparsefuncs.mean_variance_axis 2014-09-03 13:47:48 +02:00
Michael Eickenberg 3f6c61fed7 ENH components of unit length and whitening done by scaling with sqrt of explained variance 2014-08-06 14:42:03 +02:00
Michael Eickenberg dc2bc8a5ec TST test whitened inverse 2014-08-06 14:42:03 +02:00
Michael Eickenberg bedf14abcb FIX Exact inverse transform for whitened PCA 2014-08-06 14:42:03 +02:00
Joel Nothman b3bdb08964 DOC fix formatting of attributes etc. in docstrings 2014-07-28 19:04:59 +10:00
Lars Buitinck 56057c9630 MAINT remove deprecated code 2014-07-23 16:19:40 +02:00
Lars Buitinck c9789c7edf COSMIT clean up tests with pyflakes
test_ridge.py contained two duplicate functions.
2014-07-22 16:10:16 +02:00
Lars Buitinck 88b05ff908 MAINT remove deprecated PCA code 2014-07-22 15:45:35 +02:00
MechCoder c508965201 MAINT: Fixed a few docstrings and cosmits 2014-07-22 15:09:39 +02:00
MechCoder d72ca5974f Added n_iter attribute to OMP (and CV) 2014-07-22 15:09:39 +02:00
MechCoder c838c382b9 FIX: Preserve public API by introducing return_n_iter param 2014-07-22 15:09:39 +02:00
MechCoder bbb140aaf0 ENH: Added n_iter_ parameters across all iterative solvers 2014-07-22 15:09:39 +02:00
Olivier Grisel 0ea65bb64d FIX better RandomizedPCA sparse deprecation 2014-07-22 10:58:12 +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
Gael Varoquaux e42ecd1466 ENH: transformers work on non ndarray subclasses 2014-07-17 11:44:08 +02:00
Kyle Kastner d1a9af884d Changed solver from 'dense_cholesky' to 'cholesky' to eliminate deprecation warning. 2014-07-14 08:45:21 -05:00
Olivier Grisel 5b854514bb Merge branch 'pr/3263': minor fixes from the 0.15.X branch 2014-06-09 14:47:05 +02:00
Lars Buitinck e2857b957f DOC typo in FastICA docs 2014-06-09 12:58:32 +02:00
Andreas Mueller c7db70ac9f removed unused variables and imports, add used imports where missing. 2014-06-08 21:44:01 +02:00
Andreas Mueller d12d3132c4 Fix some fun column span alignment errors. 2014-06-07 16:48:48 +02:00
Lars Buitinck f309126b53 FIX PCA error handling for invalid n_components
n_components < 0 was silently handled like None; > n_features gave a
cryptic error message from the bowels of np.linalg.

XXX n_components == 0 is still allowed as changing it makes tests fail,
not sure what it means.
2014-06-05 20:16:43 +02:00
Alexandre Gramfort a611867b7d Merge pull request #3176 from agramfort/omp_default
MRG : omp default param could fail
2014-06-01 23:25:05 +02:00
Olivier Grisel 40597f1df5 Merge pull request #3169 from mjbommar/issue-3167-eradicate-todense
PR re: issue 3167 to eradicate .todense()
2014-05-24 21:02:47 +02:00
Olivier Grisel 327abfee90 DOC: better docstrings for PCA models 2014-05-24 13:08:14 +02:00
Alexandre Gramfort 4550aaea19 ENH : use local seed + avoid warning 2014-05-22 09:14:33 +02:00
Alexandre Gramfort 50d40fb70b FIX : omp default param could fail 2014-05-22 07:46:14 +02:00
mjbommar 724b63a16c Replacing the test .todense() methods with .toarray() 2014-05-20 21:44:34 -04:00
GaelVaroquaux 1f0066388d Revert "DOC : really fix alpha docstring in dict learning"
This reverts commit 645863e0f2.

@agramfort: sorry: a better read of the code told me that it was
transform_alpha used by the OMP. So alpha is indeed always a float
2014-05-20 19:14:11 +02:00
Alexandre Gramfort 645863e0f2 DOC : really fix alpha docstring in dict learning 2014-05-20 13:16:43 +02:00
Alexandre Gramfort 4a04b3fb07 DOC : fix alpha docstring in dict learning 2014-05-20 11:15:17 +02:00
Michael Becker 9931e34cb6 Authors: Update based on #3067 2014-04-17 18:19:56 -04:00
Michael Becker 00bb7a42f9 TruncatedSVD: Calculate explained variance.
Fixes #3047
2014-04-17 15:10:34 -04:00
Lars Buitinck fb795ebef0 ENH factor out squared norm helper 2014-04-08 23:02:54 +02:00
Mikhail Korobov e87653dc3d TST skip SparsePCA n_jobs!=1 test on Mac OS X because it hangs 2014-03-21 04:22:05 +06:00
matrixorz 08a7f67491 fix issue #2901 2014-03-20 23:21:43 +08:00
Olivier Grisel 751049ec18 FIX: np.abs might not work on scipy.sparse matrices
On current scipy master np.abs(X) triggers:

    TypeError: __numpy_ufunc__ not implemented for this type.

I don't know if this is really a bug in scipy or not but in the mean
we can workaround this limitation as this is only for a test anyway.
2014-03-19 15:56:58 +01:00
Lars Buitinck 0abe21eaac MAINT remove some deprecated stuff 2014-03-12 13:33:42 +01:00
Lars Buitinck 23b3cc2eb5 MAINT drop support for SciPy < 0.9
TODO: get rid of solve_triangular. Just replacing it by scipy.linalg's
breaks OMP and least-angle regression.
2014-03-02 20:13:57 +01:00
Joel Nothman dbc26ce996 COSMIT remove unused imports and variables 2014-02-03 19:43:56 +11:00