Skip to content

Commit f9332d5

Browse files
qinhanmin2014NelleV
authored andcommitted
add random_state (#9542)
1 parent 52fe914 commit f9332d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/tests/test_kernel_ridge.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from sklearn.utils.testing import assert_array_almost_equal
1111

1212

13-
X, y = make_regression(n_features=10)
13+
X, y = make_regression(n_features=10, random_state=0)
1414
Xcsr = sp.csr_matrix(X)
1515
Xcsc = sp.csc_matrix(X)
1616
Y = np.array([y, y]).T

0 commit comments

Comments
 (0)