Closed marenwolf closed 9 months ago
Hi @marenwolf Apologies I didn't get to it earlier on - it's indeed a bug and your code fixes it, thank you ! I did some more testing and there's no unwanted side effects from what I see so I've committed the change.
Hi Matthias, when I try to do cross decoding for time-frequency data (4D, samples x channels x frequencies x timepoints) with one dataset for training and one dataset for testing and specifying no feature dimension, I get the following error:
This is the code I used:
The same code works with an older version of the MVPAlight toolbox that I downloaded on 25.03.2022.
Including these lines of codes in the squeeze1 function lets me run the analysis for now, but I am not sure if everything else then still works as intended:
Do you have any suggestions on how to fix it?
Thank you! Maren