How to match subsampled-extracted embeddings and original discrete labels #95
-
Hi, I have 19-channel human EEG data with 60,000 timepoints and discrete label sequence of emotional valence with the same timepoints. Considering high sampling rates of EEG (500Hz here) and complex nature of human emotion, I customized 'offset250-model-25x-subsample' to train CEBRA-behavior model. For visualizing embeddings with color-coding valence labels, I need to subsample discrete labels synchronized the timepoint of extracted embeddings. In my guess, it may work to conduct sampling every 25th label but I'm not still sure. Here's my question: How can I match the timepoint of embeddings (with subsampled) and original discrete labels? p.s.) I'm going to apply CEBRA for my MSc thesis from now on. I guess there will be additional questions, so I will see you often from now on XD |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Welcome! Actually in our plotting function it will handle the original input labels, since the model is more about the "receptive field" of your data, it doesn't alter your initial input data, so that should work to post-hoc color the embedding. See the Allen neuropixels demo notebook as there we subsample by 4x as well! Hope that helps |
Beta Was this translation helpful? Give feedback.
Welcome! Actually in our plotting function it will handle the original input labels, since the model is more about the "receptive field" of your data, it doesn't alter your initial input data, so that should work to post-hoc color the embedding. See the Allen neuropixels demo notebook as there we subsample by 4x as well! Hope that helps