We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 562dffe commit 58d5e48Copy full SHA for 58d5e48
sklearn/decomposition/tests/test_dict_learning.py
@@ -244,7 +244,8 @@ def test_sparse_coder_mmap():
244
# Test that SparseCoder does not error by passing reading only
245
# arrays to child processes
246
247
- init_dict = np.random.rand(500, 64)
+ rng = np.random.RandomState(777)
248
+ init_dict = rng.rand(500, 64)
249
data = np.random.rand(8096, 64)
250
sc = SparseCoder(init_dict, transform_algorithm='omp', n_jobs=2)
251
sc.fit_transform(data)
0 commit comments