mobeets / gaborMotionPulses

fitting cell and behavior STRFs to gabor motion pulses, using ASD
2 stars 1 forks source link

how do we see improvement in decoding with corrs in presence of bad noise-corrs? #98

Open mobeets opened 9 years ago

mobeets commented 9 years ago

screen shot 2015-07-24 at 2 51 05 pm

blue dots in top right quadrant: they have positive noise correlations which should mean shuffling HELPS them (i.e., negative score --> bottom right quadrant).

same for red dots in top left quadrant

mobeets commented 9 years ago

one realization: we are calculating noiseCorrAR using spikes minus model predictions, i.e., an estimate at when the signal is zero. but the noise correlation cartoons (averbeck style) are really about noise correlations given the stimulus direction. so it's not too unreasonable, especially given #101, to assume that the noise correlations are different given a strong signal.

so i've added a noiseCorr_avg field which calculates the noise corr for the two stimulus direction conditions, using actual spikes (since this is what we use to decode), and then averages the two.

mobeets commented 9 years ago

here's the new plot, comparing scoreGain to the avg noiseCorr of the two different stim dirs: screen shot 2015-07-28 at 12 14 51 pm

so it's basically identical to the original noiseCorrAR:

screen shot 2015-07-28 at 12 15 25 pm

mobeets commented 9 years ago

also though, we can get p-vals on the noise-corrs and only plot the ones with an avg p-val below, say, 0.10:

screen shot 2015-07-28 at 12 16 11 pm

still, those weird cells exist! the blue dots in the the top-right quadrant