treder / MVPA-Light

Matlab toolbox for classification and regression of multi-dimensional data
MIT License
68 stars 35 forks source link

Multivariate Noise Normalization (MNN) #43

Closed ClairePleche closed 5 months ago

ClairePleche commented 8 months ago

Hello,

I am wondering if there is any way to do MNN in MVPA-Light by specifying the cfg.preprocess?

Thanks!

Claire

treder commented 8 months ago

Hi! Not right now. I'm just vaguely familiar with the approach, can you share a link to the standard reference paper (that has the equations). Is there some code as well?

ClairePleche commented 8 months ago

Hello, Thank you for your answer ! Here is a paper using MNN on MEG data with equations: https://www.sciencedirect.com/science/article/pii/S1053811918301411?via%3Dihub

The code that they provide in the paper doesn't include the MNN.

treder commented 6 months ago

It took a while but I have an implementation ready now! The code is in a separate branch called MMN: https://github.com/treder/MVPA-Light/tree/MMN

To get started, you can use example 9 in this file: https://github.com/treder/MVPA-Light/blob/MMN/examples/understanding_spatial_filters.m

Before I merge it into the main branch it would be brilliant if you would be able to provide some feedback on whether it produces the expected result on your side. Thanks!

treder commented 5 months ago

The branch has now been merged into the main branch

ClairePleche commented 5 months ago

Thank you for the implementation !! I will test it out.