shahbuland / openbci-2d-motion

Uses EEG and Neural Network to classify thoughts and move cursor
3 stars 1 forks source link

Format of data feed into Neural Network? #1

Open fangtao365 opened 2 years ago

fangtao365 commented 2 years ago

Hello! I want know the types of feature feed into the NN, time feature or frequency feature?

shahbuland commented 2 years ago

It's time. To be honest I didn't know much about signal processing or EEGs when I made this and I think frequency would be better. If you want to convert to frequency, check 2dmotion/brainreader.py line 15. That's where the actual data is collected. It's the power at a given time on all channels of the EEG (a vector). From there you'll want to store these samples in a sequence (rather than one at a time like I did) and do some FT algo on them (probably STFT)

fangtao365 commented 2 years ago

What is the final classification accuracy? I understand that this is a four-category task.