Skip to content

asamar/LDS_BadElectrodes

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

LDS_BadElectrodes

The repository is for the ECE69500 - Generative Models Final Project. The project is "Good vs Bad Electrodes in SEEG Data"

SEEG Data:

This is neural data collected directly from the subject by inserting a long and thin electrode in the subject's brain. The electrode can be used to measure and record brain/neuron activity. This data can be used for tasks such as speech decoding directly from the neural activity.

Bad Electrodes:

A problem arises when some of the electrodes are 'bad'. These electrodes don't measure data that can be useful for us, this is because the signal being outut by the electrode is either:

  1. Noisy
  2. Fluctuating
  3. Has repeating patterns

Good electrode image

Bad electrode image

Such data would be harmful to any model being trained on the earlier mentioned tasks (speech decoding)

LDS

LDS was used to differentiate between good and bad electrodes. The Linear Dynamical System allows us to calculate the log likelihood over the observations, and this is the criteria used to differentiate between good and bad electrodes. The Linear Dynamical System was trained on data only from good electrodes. Now if inference is done on the LDS with good electrode data, we should get a high log likelihood as compared to doing inference on the LDS with bad electrode data.

Note: All the code is my own except for the notch_filter function in data.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages