Stroke Detection using Machine Learning on EEG Data
2024 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE credits
Student thesisAlternative title
Strokedetektion med maskininlärning på EEG-data (Swedish)
Abstract [en]
Stroke is a devastating and common medical condition, which one in four people will experience in their lifetime. Strokes often occur suddenly and without any prior signs, and are hard to notice as they occur invisibly within the brain; only the appearance of outward symptoms give away the ongoing attack. This, combined with the fact that the damage done by the stroke worsens the longer it goes untreated, makes more affordable and reliable stroke detection methods highly desirable. The goal of our project was to examine the feasibility of detecting stroke in patients using only brain activity data collected with easily used and relatively low cost electroencephalography (EEG) machines. To accomplish this, EEG datasets from patients with and without stroke were collected, standardized, and preprocessed using different methods. The different variations of this data was then used to train machine learning models, and the ability of each trained model to identify EEG recordings of stroke patients was tested. It was found that the method of preprocessing of the data was critical for the model to achieve good results. Using certain preprocessing methods, and with a sufficient amount of data, the model was able to correctly differentiate stroke and non-stroke EEG recordings in the dataset with 100% accuracy. However, a number of issues which may have had an effect on the result were identified, including the lack of relevant publicly available datasets, the small size of the used datasets, and potential issues in the standardization process.
Abstract [sv]
Stroke är ett förödande medicinskt tillstånd, som en av fyra genomgår någon gång under sin livstid. Stroke-attacker inträffar ofta plötsligt och utan några varningstecken, och är svåra att upptäcka på grund av att de inträffar osynligt inuti hjärnan; det är enbart när yttre symptom framträder som det är möjligt att detektera att en person har stroke. Detta, i kombination med att skadan förvärras desto längre attacken går obehandlad, gör mer prisvärda och pålitliga metoder för strokedetektion mycket eftertraktade. Målet med projektet var att undersöka möjligheten att detektera stroke i patienter med enbart hjärnaktivitetsdata insamlad med hjälp av lättanvända och relativt billiga Elektroencefalografimaskiner (EEG). För att åstadkomma detta insamlades EEG-dataset från patienter med och utan stroke, som standardiserades och förbehandlades med olika metoder. De olika variationerna av denna data användes sedan för att träna maskininlärningsmodeller, och dessas förmåga att identifiera EEG-inspelningar från strokepatienter testades. Det kunde konstateras att valet av förbehandlingsmetod var kritiskt för att modellen skulle uppnå goda resultat. Med hjälp av rätt förbehandlingsmetoder, och med ett tillräckligt stort antal datapunkter, kunde modellen särskilja stroke och icke-stroke EEG-inspelningar i vårt dataset med 100% noggrannhet. Emellertid identifierades ett antal eventuella problem som kan ha påverkat resultatet, såsom bristen på offentligt tillgängliga relevanta dataset, det lilla antalet patienter i de använda dataseten, och potentiella problem i standardiseringsprocessen.
Place, publisher, year, edition, pages
2024. , p. 25
Series
TRITA-EECS-EX ; 2024:317
Keywords [en]
Stroke, Electroencephalography, EEG, Machine Learning, Classification, Support Vector Machine
Keywords [sv]
Stroke, Elektroencefalografi, EEG, Maskininlärning, Klassifikation, Stödvektormaskin
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:kth:diva-350947OAI: oai:DiVA.org:kth-350947DiVA, id: diva2:1885528
Supervisors
Examiners
2024-08-202024-07-232024-08-20Bibliographically approved