<div dir="ltr">I might be wrong, but it sounds like you have invariant features in your data. U can get a better mask or just remove them with remove_invariant_features()<br><br>On Sat, Jan 23, 2016 at 5:37 PM, Maria Hakonen <<a href="mailto:maria.hakonen@gmail.com">maria.hakonen@gmail.com</a>> wrote:<br>><br>> Hi,<br>><br>> Many thanks for your answers! <br>> I would like to identify brain regions sensitive to speech intelligibility. I have already done this with GLM by comparing responses to blocks of intelligible and unintelligible sentences. However, I would also like to try if MVPA finds some other regions since I have understood that it is more sensitive. Perhaps this could be done by running searchlight analysis on the full brain and then analyzing the clusters as introduced in Etzel <a href="http://et.al">et.al</a>. (2013, i.e. the link in the previous message).     <br>>  <br>> I tried searchlight but it gives me the following warning:<br>><br>> WARNING: Obtained degenerate data with zero norm for training of <LinearCSVMC>.  Scaling of C cannot be done.<br>><br>> I wonder if you have any advice how to solve this problem?<br>><br>> Regards,<br>> Maria<br>><br>> 2016-01-21 17:02 GMT+02:00 Jo Etzel <<a href="mailto:jetzel@wustl.edu">jetzel@wustl.edu</a>>:<br>>><br>>> I quite agree with Nick's "quite tricky": about the only way in which averaging the weights over 18 the cross-validation folds will give you a correct impression of the "important" voxels is if most of the voxels in your ROI have no information at all, and the remaining are uniquely informative (each distinguishes the classes, but not correlated with each other). Needless to say, this scenario is not exactly common for fMRI datasets. (and even more complicated if multiple people are being analyzed.)<br>>><br>>> Searchlights can give a decent reflection of where *local* information occurs, though there are many caveats (to cite myself, see <a href="http://www.ncbi.nlm.nih.gov/pubmed/23558106">http://www.ncbi.nlm.nih.gov/pubmed/23558106</a>).<br>>><br>>> I generally suggest tailoring the analysis to the hypothesis. If you're really interested in the activity in individual voxels, some sort of mass-univariate analysis is probably best. If you're interested in ROIs, ROI-based MVPA can work very well. But trying to interpret *voxels* from a *ROI-based* analysis is problematic at best.<br>>><br>>> Jo<br>>><br>>><br>>><br>>> On 1/21/2016 8:27 AM, Nick Oosterhof wrote:<br>>>><br>>>><br>>>>> On 21 Jan 2016, at 15:18, Maria Hakonen <<a href="mailto:maria.hakonen@gmail.com">maria.hakonen@gmail.com</a>><br>>>>> wrote:<br>>>>><br>>>>> I am working on my first fMRI data and would like to try MVPA<br>>>>> analysis. I have two classes that I have classified with linear<br>>>>> SVM. I would like to determine which voxels contribute most to the<br>>>>> clasifier’s successful discrimination of the classes. As far as<br>>>>> understand, the absolute value of the SVM weights directly reflect<br>>>>> the importance of a feature (voxel) in discriminating the two<br>>>>> classes.<br>>>><br>>>><br>>>> Interpretation of SVM weights is quite tricky, see for example Haufe<br>>>> et al 2015 Neuroimage, doi:10.1016/j.neuroimage.2013.10.067.<br>>>><br>>>> If you want to make inferences about the spatial location of<br>>>> multivariate discrimination, you may want to consider using a<br>>>> searchlight analysis instead.<br>>>><br>>>>> I would like to average the SVM weights across all 18<br>>>>> cross-validation folds for each voxel and wrap the resulting map<br>>>>> into the standard space in order to display a map of the resulting<br>>>>> overlap.<br>>>><br>>>><br>>>> Even if one would be confident that SVM weights were interpretable,<br>>>> why take the absolute value? It would seem that this makes it much<br>>>> more difficult to do any stats or interpret the results. In<br>>>> particular, lack of signal but difference in variance of weights<br>>>> across regions may then yield differences in average absolute<br>>>> values.<br>>><br>>> ><br>>>><br>>>> _______________________________________________<br>>>> Pkg-ExpPsy-PyMVPA mailing list<br>>>> <a href="mailto:Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org">Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org</a><br>>>> <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa</a><br>>>><br>>>><br>>> --<br>>> Joset A. Etzel, Ph.D.<br>>> Research Analyst<br>>> Cognitive Control & Psychopathology Lab<br>>> Washington University in St. Louis<br>>> <a href="http://mvpa.blogspot.com/">http://mvpa.blogspot.com/</a><br>>><br>>><br>>> _______________________________________________<br>>> Pkg-ExpPsy-PyMVPA mailing list<br>>> <a href="mailto:Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org">Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org</a><br>>> <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa</a><br>><br>><br>><br>> _______________________________________________<br>> Pkg-ExpPsy-PyMVPA mailing list<br>> <a href="mailto:Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org">Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org</a><br>> <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa</a><br><br></div>