I hope this email finds you well.
I am preparing to implement Representational Similarity Analysis on MEG data. I would like to compute the DSMs using cross-validated euclidean distances between items.
I have noticed that the Representational Similarity Analysis in the mne examples is based on decoding estimates, and was wondering if anyone can point me towards an example that uses euclidean distances to compose the DSMs, or offer some guidance on how to set this up in mne-python.
Many thanks!
Ana Pesquita
If you have a question or issue with MNE-Python, please include the following info:
MNE version: e.g. 0.24.0
operating system: e.g. macOS 12 / Windows 10 / Ubuntu 18.04
To get the correct formatting, paste your Python code, then select it, and click on the Preformatted text toolbar button.
Please avoid sharing screenshots of code and error messages! Screenshots are difficult to work with especially on mobile devices; they don’t allow others to copy code and other text; and they don’t show up in the search.
Please edit or remove the above text before submitting your posting.
In this paper computes the DSMs are computes using euclidean distance as a measure: https://doi.org/10.1016/j.neuroimage.2019.03.031
Please see section 2.7.3 for the description on how DSMs were computed.
Radoslaw M. Cichy, Nikolaus Kriegeskorte, Kamila M. Jozwik, Jasper J.F. van den Bosch, Ian Charest,
The spatiotemporal neural dynamics underlying perceived similarity for real-world objects,
NeuroImage, Volume 194, 2019, Pages 12-24, ISSN 1053-8119, Redirecting.
However, it seems like there is no cross-validation. I am looking for a description on how to implement cross-validation. Will get back to you on that.
Meanwhile, do you have any tips you could share on how to generate a DSM in mne-python using euclidean distance as the measure of dissimilarity.