giorgiop
b18f2951e4
randomized_svd: power iter, normalization, benchmark
2015-10-21 11:21:40 +02:00
Olivier Grisel
16fcb15351
ENH use explicit decimal keyword & PEP8
2015-10-15 13:51:11 +02:00
Andreas Mueller
838570cc8a
Fixes #4455 .
2015-10-13 17:44:36 -04:00
giorgiop
f5138ad16c
remove numpy's RuntimeWarning from corner case of PCA.fit
2015-10-03 08:34:29 +02:00
Andreas Mueller
a8626b36a6
TST/COSMIT remove nose call boilerplate
2015-05-28 14:54:01 -04:00
Raghav R V
cd2ee7e454
MAINT docstring --> comments to prevent nose from using doc in verbose mode
2015-03-21 11:16:49 +05:30
Michael Eickenberg
dc2bc8a5ec
TST test whitened inverse
2014-08-06 14:42:03 +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
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
mjbommar
724b63a16c
Replacing the test .todense() methods with .toarray()
2014-05-20 21:44:34 -04: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
Alexandre Gramfort
fe1c28421e
address @ogrisel's comments
2013-12-15 08:57:58 +01:00
Alexandre Gramfort
0553bf13bc
add test with sparse data
2013-12-14 13:45:54 +01:00
Alexandre Gramfort
4ce2eb73c4
update tests
2013-12-14 09:39:12 +01:00
Alexandre Gramfort
71d2392051
FIX : explained_variance_ratio_ in RandomizedPCA
2013-12-13 21:06:58 +01:00
dengemann
26a5dd7fa9
FIX typo 2
2013-11-29 13:55:39 +01:00
dengemann
686fc3a7ac
FIX
...
FIX typo
2013-11-29 13:55:39 +01:00
dengemann
e141a98fd3
cosmits
2013-11-29 13:55:39 +01:00
dengemann
a0f0a3d961
FIX: PPCA related warnings
2013-11-29 13:55:39 +01:00
dengemann
e1bdd99ea6
ENH: add assert_warn_message
2013-11-29 13:55:39 +01:00
dengemann
d2f3a8a3da
ENH: refactor warnings 1
2013-11-29 13:55:38 +01:00
Mathieu Blondel
be2894ad24
Remove warnings in ProbabilisticPCA tests.
2013-11-09 18:28:27 +09:00
Alexandre Gramfort
4289f62ee9
for loop in tests of get_covariance + get_precision
2013-09-05 21:41:46 +02:00
Alexandre Gramfort
bf1cf77e4d
FIX : fix ProbabilisticPCA.score with homoscedastic=True
2013-09-05 21:41:46 +02:00
Alexandre Gramfort
36ad48e6de
ENH : add score samples to PCA
2013-09-05 21:40:27 +02:00
Alexandre Gramfort
8145f52086
pep8
2013-09-05 21:39:58 +02:00
Alexandre Gramfort
daca39958c
ENH : add tests for get_precision in PCA + some fixes for corner cases
2013-09-05 21:37:57 +02:00
Alexandre Gramfort
0fdd7ab48d
ENH : make PCA scoring work with n_features is big. Avoid covariance computation in PCA.fit
2013-09-05 21:36:45 +02:00
Alexandre Gramfort
0a8a6a114b
ENH : add score to PCA from ProbabilisticPCA
2013-09-05 21:36:45 +02:00
Alexandre Gramfort
b1098b5c24
FIX : self.component in PCA was changed by fit when passed mle or explained variance
2013-08-03 09:03:22 +02:00
Gael Varoquaux
505bc2175f
BUG: fix Py 3
2013-07-28 10:28:04 +02:00
dengemann
bbb7b25493
COSMITS
2013-07-28 08:45:24 +02:00
dengemann
27370de0cb
STY: removing unnecessay import
2013-07-28 08:45:24 +02:00
dengemann
3453739740
FIX: X.copy() test now works
2013-07-28 08:45:24 +02:00
dengemann
ed0fba3531
FIX: inverse_transform; tests
2013-07-28 08:45:23 +02:00
dengemann
09da6b5e4c
ENH: get it right.
2013-07-28 08:45:23 +02:00
dengemann
86d96ce804
FIX: only center if copy == True
2013-07-28 08:45:23 +02:00
dengemann
f218fce18e
ENH: add failing test exposing bug in RandomizedPCA
2013-07-28 08:45:23 +02:00
Lars Buitinck
8675dcbbe7
DOC + MAINT deprecate RandomizedPCA scipy.sparse support
2013-06-12 13:39:39 +02:00
Andreas Mueller
754c2d9533
COSMIT pep8
2012-12-22 16:48:17 +01:00
Mathieu Blondel
6eec2e651b
Even more sklearn.utils.testing.
2012-10-26 00:09:46 +09:00
kuantkid
1575e50512
FIX: this fixes issues #746 ProbabilisticPCA minor things
2012-09-03 11:02:14 +02:00
Andreas Mueller
3e5f2e5e08
ENH backport "assert_less" and "assert_greater", rename "assert_lower" and use it everywhere :)
2012-05-06 15:43:29 +02:00
GaelVaroquaux
30f7b5a3a4
TST: fix trivial bug and control the rng
2012-03-04 18:15:03 +01:00
Jake Vanderplas
7f53024ae9
remove unused imports
2011-12-23 09:27:40 -08:00
Fabian Pedregosa
ddf4b72109
Move project directory from scikits.learn to sklearn
2011-09-02 12:06:57 +02:00
Fabian Pedregosa
68f27e3790
Revert "Move project directory from scikits.learn to sklearn"
...
This reverts commit fd0d3b879d .
2011-09-02 12:03:18 +02:00
Fabian Pedregosa
fd0d3b879d
Move project directory from scikits.learn to sklearn
2011-09-02 11:38:24 +02:00