Skip to content

Commit 86f9b3b

Browse files
committed
Minimal comment change to re-trigger tests
1 parent f059622 commit 86f9b3b

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

mne/decoding/search_light.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -788,16 +788,14 @@ def _gl_score(estimators, scoring, X, y, pb):
788788
pb.update(jj * n_train + ii + 1)
789789
return score
790790

791-
# If we can batch; the logic is: reshape X; for each estimator: predict;
791+
# If we batch, the logic is: reshape X; for each estimator: predict;
792792
# reshape back; score with batching if we can and with a loop if not.
793-
# Use the provided response method, or pick the first one supported
794-
# by the estimator
795-
# Collapse the last dimension into the sample dimension:
793+
# Collapse the n_iter into the n_sample dimension:
796794
# (n_sample, ..., n_iter) -> (n_sample * n_iter, ...)
797795
X_stack = np.moveaxis(X, -1, 1)
798796
X_stack = X_stack.reshape(n_sample * n_iter, *X_stack.shape[2:])
799797

800-
# Resolve the prediction method to call later.
798+
# Resolve the prediction method to call later
801799
if isinstance(response_method, str):
802800
method = response_method
803801
else:

0 commit comments

Comments
 (0)