8000 reduced n_samples and n_features in test_nan_support for faster pytes… · scikit-learn/scikit-learn@3f88680 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f88680

Browse files
authored
reduced n_samples and n_features in test_nan_support for faster pytest (#21823)
1 parent f9b98c8 commit 3f88680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/feature_selection/tests/test_sequential.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def test_nan_support():
115115
# Make sure nans are OK if the underlying estimator supports nans
116116

117117
rng = np.random.RandomState(0)
118-
n_samples, n_features = 100, 10
118+
n_samples, n_features = 40, 4
119119
X, y = make_regression(n_samples, n_features, random_state=0)
120120
nan_mask = rng.randint(0, 2, size=(n_samples, n_features), dtype=bool)
121121
X[nan_mask] = np.nan

0 commit comments

Comments
 (0)
0