mne-tools / mne-python

MNE: Magnetoencephalography (MEG) and Electroencephalography (EEG) in Python
https://mne.tools
BSD 3-Clause "New" or "Revised" License
2.66k stars 1.31k forks source link

Return more data with time_generalization #1665

Closed choldgraf closed 9 years ago

choldgraf commented 9 years ago

I'm wondering how people feel about returning more information with the time_generalization function. Right now, it runs cross validation, fits a bunch of models, generalizes all those models, and then throws away all of that information except for a single averaged score matrix.

It'd be useful to have access to the coefficients in order to see which regions of the brain are stable across time (I'm doing this with ECoG). It'd also be useful to have the model coefficients and scores across all of the CVs, in order to get an idea for how stable these values are.

Right now I've just been modifying this function locally to return these things, but I wonder if they wouldn't be useful to others as well...

dengemann commented 9 years ago

@choldgraf take a look at #1629

choldgraf commented 9 years ago

Looks like you guys are one step ahead of me. I'll close this. Happy to help debug and or test out the new class.