EEG processing pipeline with autoreject

Since apply() returns the modified instance, you could simplify this to:

epochs_clean = ica.apply(epochs.copy())

The way you’re phrasing it now, I would say: no. Just be sure to standardize whatever you feed into the ML algorithm.

1 Like