@@ -95,7 +95,7 @@ def resample_data_indices(y_train, y_test, random_state=None):
95
95
random_state : int, RandomState instance or None, default=None
96
96
If ``int``, random_state is the seed used by the random number generator;
97
97
If ``RandomState`` instance, random_state is the random number generator;
98
- If ``None``, the random number generator is the ``RandomState`` instance
98
+ If ``None``, the random number generator is the ``RandomState`` instance
99
99
used by ``np.random``.
100
100
101
101
Returns
@@ -138,7 +138,7 @@ def stratified_resample_data(X_train, y_train, X_test, y_test, random_state=None
138
138
random_state : int, RandomState instance or None, default=None
139
139
If ``int``, random_state is the seed used by the random number generator;
140
140
If ``RandomState`` instance, random_state is the random number generator;
141
- If ``None``, the random number generator is the ``RandomState`` instance
141
+ If ``None``, the random number generator is the ``RandomState`` instance
142
142
used by ``np.random``.
143
143
144
144
Returns
@@ -202,7 +202,7 @@ def stratified_resample_data_indices(y_train, y_test, random_state=None):
202
202
random_state : int, RandomState instance or None, default=None
203
203
If ``int``, random_state is the seed used by the random number generator;
204
204
If ``RandomState`` instance, random_state is the random number generator;
205
- If ``None``, the random number generator is the ``RandomState`` instance
205
+ If ``None``, the random number generator is the ``RandomState`` instance
206
206
used by ``np.random``.
207
207
208
208
Returns
@@ -247,4 +247,4 @@ def stratified_resample_data_indices(y_train, y_test, random_state=None):
247
247
[test_indices , indices [counts_train [label_index ] :]], axis = None
248
248
)
249
249
250
- return train_indices , test_indices
250
+ return train_indices , test_indices
0 commit comments