- MNE version: e.g. MNE 1.6.1
- operating system: e.g. macOS 12
Hello everyone,
I am currently using MNE-Python version 1.6.1 on macOS 12 and have a question about enhancing temporal generalization analysis. I am looking to modify the cross-time validation decoding analysis by implementing a moving window of 20 ms, as opposed to the standard 1 ms. My reference for this task has been the “Motor Imagery Decoding with CSP” tutorial available here: Motor Imagery Decoding with CSP.
Previously, I successfully adapted this approach for temporal decoding where the output is a one-dimensional AUC. However, my current goal is to produce a generalization across time with a two-dimensional AUC matrix that includes [train time, test time]. I use Linear Discriminant Analysis for the classifier, but I’m facing a challenge with very strong multicollinearity along the diagonal of the results matrix.
I have been looping the classifier over time to generate the 2D matrix and done the analysis without the function GeneralizingEstimator since I need moving time window per 20 ms with window length 1 ms and with sfreq=1000. I have no idea how MNE can tackle this multicolinearity in their function or maybe my method is wrong.
How can I tackle this multicollinearity issue in this analysis?
Any insights or guidance would be greatly appreciated! I’m also happy to share my script if it helps in providing more targeted advice.
Best,
Risa
**