How Can I Consistently Categorize Signals Using ICA in EEG Data?

  • Thread starter Thread starter karnick
  • Start date Start date
  • Tags Tags
    Signals
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 3K views
karnick
Messages
1
Reaction score
0
OK. Going to try to explain the background on this one the best I can. I have two data sets which are mixtures of TWO signals, but are both different (Think of it as two people in a room talking at the same time and there are two different microphones listening to what they are saying).
Lets call the signals a and b, and Let's call the mixtures X1 and X2. There is a process called ICA (Independent Component Analaysis) which will extract a and b from X1 and X2. Cool right? yeah. Not so cool.

The way the algorithm works is you input a matrix with a and b inside (so let's say a 2x100). You run it through the algorithm (which in my case happens to be in MATLAB) and the output is generated in a matrix, but you NEVER can predict which row of the matrix will be a and which will be b. If i was dealing with audio signals, then id be able to listen to them and figure it out. But, I am dealing with EEG signals (brain waves) so I barely know what I am lookin at. Therefore, I am currently trying to categorize the outputs from the ICA algorithm by the average energy in the signals. Well there's one more problem. During the ICA process, the output signals are sometimes inverted or amplified. Usually it behaves the same every time on the same data set, but if you give it slightly different data, it will maybe amplify more or less or even invert the data.

So the main problem is, I need a way to consistently categorize a from b. Avg Energy/power doesn't seem to be helpful since the signals are sometimes amplified or inverted after separation. Unless there is some way I can normalize the data before/after but I can't think of anything.





Thanks in advance
 
Engineering news on Phys.org
I am not familiar with EEG signals; however, if we were talking about the two people talking in a room, the best way to catagorize them would be to calculate the correlation coefficient for each row. It seems as though each persons voice would be more correlated with their own than the voice of someone else. Just the first thing to come to mind.

[EDIT] Of course I mean the correlation between rows.
 
Last edited:
Is this the same as "Principal Component Analysis"? I'm no expert in this area, but I know the PCA eigenvalues directly give you the energies of the components. Scaling and inversion should be reflected in the size and sign of the eigenvalues. I wouldn't expect it to be arbitrary.

Since PCA is calculated from the covariance matrix, stefannm was on the right track.