scikit-learn/sklearn/decomposition/tests
Prathmesh Savale e43574e61b Don't use global np.random.seed in tests (#13356)
* initial commit

* used random class

* fixed failing testcases, reverted __init__.py

* fixed failing testcases #2
- passed rng as parameter to ParameterSampler class
- changed seed from 0 to 42 (as original)

* fixed failing testcases #2
- passed rng as parameter to SparseRandomProjection class

* fixed failing testcases #4
- passed rng as parameter to GaussianRandomProjection class

* fixed failing test case because of flake 8
2019-03-02 08:46:23 +01:00
..
__init__.py Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
test_dict_learning.py MNT remove __future__ imports (#12791) 2019-02-02 22:05:06 +08:00
test_factor_analysis.py doc: fix spellings of 'license' 2016-03-31 17:25:31 -07:00
test_fastica.py Don't use global np.random.seed in tests (#13356) 2019-03-02 08:46:23 +01:00
test_incremental_pca.py Fix IncrementalPCA when final batch is smaller than dimensions required for SVD (#12379) 2018-10-31 14:32:19 +01:00
test_kernel_pca.py [MRG+1] Enforce deterministic output in kernel PCA (#13241) 2019-02-26 08:15:20 +01:00
test_nmf.py [MRG] Fixed NMF IndexError (#11667) 2019-02-13 09:44:39 +11:00
test_online_lda.py MRG Drop legacy python / remove six dependencies (#12639) 2019-01-03 15:50:05 +02:00
test_pca.py [MRG+1] Use astype(.., copy=False) when possible (#11973) 2019-03-01 11:07:10 +01:00
test_sparse_pca.py MNT Replaced all occurrences of assert_true and assert_false with assert (#12588) 2018-11-28 09:16:26 +08:00
test_truncated_svd.py Remove unused private functions (#12253) 2018-10-03 21:08:17 -04:00