DEV Community

Raja Babu
Raja Babu

Posted on

My first pass through the CHB-MIT EEG dataset

I’m starting to explore the CHB-MIT scalp EEG dataset. Before looking at models, I wanted to understand what one recording and one seizure label actually represent.

An EDF file contains a stretch of EEG from one case. A separate annotation marks when a seizure starts and ends within that recording. That makes file count, seizure count, and seizure duration three different things.

I first downloaded chb01 and plotted its recording time against its marked seizure time. The seizure portion is tiny on the same hours scale, which made me think more carefully about how to summarise the data. I’m now downloading the remaining cases and checking the recording lengths, channels, and annotations before comparing them.

Source: CHB-MIT Scalp EEG Database on PhysioNet

Top comments (4)

Collapse
 
rajababu15 profile image
Raja Babu •

EEG (electroencephalogram): A recording of electrical activity measured by electrodes on the scalp. Doctors use it to examine brain activity, including changes during seizures.

EDF (European Data Format): A file format for storing recordings such as EEG. In this dataset, each .edf file contains a stretch of recorded signals.

Seizure: A temporary episode of abnormal electrical activity in the brain. Its effects vary; a seizure does not always involve visible shaking.

Why this dataset? CHB-MIT provides real EEG recordings with seizure start and end times marked. That makes it useful for learning how to read EEG data and studying seizure detection: identifying when a seizure is happening. PhysioNet

Collapse
 
rajababu15 profile image
Raja Babu •

These graphs show how uneven the CHB-MIT cases are. chb04 has about 156 hours of recording with 4 marked seizures, while chb12 has about 24 hours with 40. Recording time alone does not tell us how many seizures a case contains.

Each bar represents a recording case. chb01 and chb21 are recordings of the same person.

Collapse
 
rajababu15 profile image
Raja Babu •

Collapse
 
rajababu15 profile image
Raja Babu •


Age distribution graph