Novel machine learning-driven comparative analysis of CSP, STFT, and CSP-STFT fusion for EEG data classification across multiple meditation and non-meditation sessions in BCI pipeline
Abstract This study focuses on classifying multiple sessions of loving kindness meditation (LKM) and non-meditation electroencephalography (EEG) data. This novel study focuses on using multiple sessions of EEG data from a single individual to train a machine learning pipeline, and then using a new s...
Saved in:
Main Authors: | , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
SpringerOpen
2025-02-01
|
Series: | Brain Informatics |
Subjects: | |
Online Access: | https://doi.org/10.1186/s40708-025-00251-4 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
_version_ | 1823861488945725440 |
---|---|
author | Nalinda D. Liyanagedera Corinne A. Bareham Heather Kempton Hans W. Guesgen |
author_facet | Nalinda D. Liyanagedera Corinne A. Bareham Heather Kempton Hans W. Guesgen |
author_sort | Nalinda D. Liyanagedera |
collection | DOAJ |
description | Abstract This study focuses on classifying multiple sessions of loving kindness meditation (LKM) and non-meditation electroencephalography (EEG) data. This novel study focuses on using multiple sessions of EEG data from a single individual to train a machine learning pipeline, and then using a new session data from the same individual for the classification. Here, two meditation techniques, LKM-Self and LKM-Others were compared with non-meditation EEG data for 12 participants. Among many tested, three BCI pipelines we built produced promising results, successfully detecting features in meditation/ non-meditation EEG data. While testing different feature extraction algorithms, a common neural network structure was used as the classification algorithm to compare the performance of the feature extraction algorithms. For two of those pipelines, Common Spatial Patterns (CSP) and Short Time Fourier Transform (STFT) were successfully used as feature extraction algorithms where both these algorithms are significantly new for meditation EEG. As a novel concept, the third BCI pipeline used a feature extraction algorithm that fused the features of CSP and STFT, achieving the highest classification accuracies among all tested pipelines. Analyses were conducted using EEG data of 3, 4 or 5 sessions, totaling 3960 tests on the entire dataset. At the end of the study, when considering all the tests, the overall classification accuracy using SCP alone was 67.1%, and it was 67.8% for STFT alone. The algorithm combining the features of CSP and STFT achieved an overall classification accuracy of 72.9% which is more than 5% higher than the other two pipelines. At the same time, the highest mean classification accuracy for the 12 participants was achieved using the pipeline with the combination of CSP STFT algorithm, reaching 75.5% for LKM-Self/ non-meditation for the case of 5 sessions of data. Additionally, the highest individual classification accuracy of 88.9% was obtained by the participant no. 14. Furthermore, the results showed that the classification accuracies for all three pipelines increased with the number of training sessions increased from 2 to 3 and then to 4. The study was successful in classifying a new session of EEG meditation/ non-meditation data after training machine learning algorithms using a different set of session data, and this achievement will be beneficial in the development of algorithms that support meditation. |
format | Article |
id | doaj-art-a456f21efd30498d860bb095c7dffaac |
institution | Kabale University |
issn | 2198-4018 2198-4026 |
language | English |
publishDate | 2025-02-01 |
publisher | SpringerOpen |
record_format | Article |
series | Brain Informatics |
spelling | doaj-art-a456f21efd30498d860bb095c7dffaac2025-02-09T13:00:40ZengSpringerOpenBrain Informatics2198-40182198-40262025-02-0112112710.1186/s40708-025-00251-4Novel machine learning-driven comparative analysis of CSP, STFT, and CSP-STFT fusion for EEG data classification across multiple meditation and non-meditation sessions in BCI pipelineNalinda D. Liyanagedera0Corinne A. Bareham1Heather Kempton2Hans W. Guesgen3School of Mathematical and Computational Sciences, Massey UniversitySchool of Psychology, Massey UniversitySchool of Psychology, Massey UniversitySchool of Mathematical and Computational Sciences, Massey UniversityAbstract This study focuses on classifying multiple sessions of loving kindness meditation (LKM) and non-meditation electroencephalography (EEG) data. This novel study focuses on using multiple sessions of EEG data from a single individual to train a machine learning pipeline, and then using a new session data from the same individual for the classification. Here, two meditation techniques, LKM-Self and LKM-Others were compared with non-meditation EEG data for 12 participants. Among many tested, three BCI pipelines we built produced promising results, successfully detecting features in meditation/ non-meditation EEG data. While testing different feature extraction algorithms, a common neural network structure was used as the classification algorithm to compare the performance of the feature extraction algorithms. For two of those pipelines, Common Spatial Patterns (CSP) and Short Time Fourier Transform (STFT) were successfully used as feature extraction algorithms where both these algorithms are significantly new for meditation EEG. As a novel concept, the third BCI pipeline used a feature extraction algorithm that fused the features of CSP and STFT, achieving the highest classification accuracies among all tested pipelines. Analyses were conducted using EEG data of 3, 4 or 5 sessions, totaling 3960 tests on the entire dataset. At the end of the study, when considering all the tests, the overall classification accuracy using SCP alone was 67.1%, and it was 67.8% for STFT alone. The algorithm combining the features of CSP and STFT achieved an overall classification accuracy of 72.9% which is more than 5% higher than the other two pipelines. At the same time, the highest mean classification accuracy for the 12 participants was achieved using the pipeline with the combination of CSP STFT algorithm, reaching 75.5% for LKM-Self/ non-meditation for the case of 5 sessions of data. Additionally, the highest individual classification accuracy of 88.9% was obtained by the participant no. 14. Furthermore, the results showed that the classification accuracies for all three pipelines increased with the number of training sessions increased from 2 to 3 and then to 4. The study was successful in classifying a new session of EEG meditation/ non-meditation data after training machine learning algorithms using a different set of session data, and this achievement will be beneficial in the development of algorithms that support meditation.https://doi.org/10.1186/s40708-025-00251-4Machine learningClassificationBCI (brain computer interface)EEG (Electroencephalography)Loving kindness meditation (LKM)Multiple session |
spellingShingle | Nalinda D. Liyanagedera Corinne A. Bareham Heather Kempton Hans W. Guesgen Novel machine learning-driven comparative analysis of CSP, STFT, and CSP-STFT fusion for EEG data classification across multiple meditation and non-meditation sessions in BCI pipeline Brain Informatics Machine learning Classification BCI (brain computer interface) EEG (Electroencephalography) Loving kindness meditation (LKM) Multiple session |
title | Novel machine learning-driven comparative analysis of CSP, STFT, and CSP-STFT fusion for EEG data classification across multiple meditation and non-meditation sessions in BCI pipeline |
title_full | Novel machine learning-driven comparative analysis of CSP, STFT, and CSP-STFT fusion for EEG data classification across multiple meditation and non-meditation sessions in BCI pipeline |
title_fullStr | Novel machine learning-driven comparative analysis of CSP, STFT, and CSP-STFT fusion for EEG data classification across multiple meditation and non-meditation sessions in BCI pipeline |
title_full_unstemmed | Novel machine learning-driven comparative analysis of CSP, STFT, and CSP-STFT fusion for EEG data classification across multiple meditation and non-meditation sessions in BCI pipeline |
title_short | Novel machine learning-driven comparative analysis of CSP, STFT, and CSP-STFT fusion for EEG data classification across multiple meditation and non-meditation sessions in BCI pipeline |
title_sort | novel machine learning driven comparative analysis of csp stft and csp stft fusion for eeg data classification across multiple meditation and non meditation sessions in bci pipeline |
topic | Machine learning Classification BCI (brain computer interface) EEG (Electroencephalography) Loving kindness meditation (LKM) Multiple session |
url | https://doi.org/10.1186/s40708-025-00251-4 |
work_keys_str_mv | AT nalindadliyanagedera novelmachinelearningdrivencomparativeanalysisofcspstftandcspstftfusionforeegdataclassificationacrossmultiplemeditationandnonmeditationsessionsinbcipipeline AT corinneabareham novelmachinelearningdrivencomparativeanalysisofcspstftandcspstftfusionforeegdataclassificationacrossmultiplemeditationandnonmeditationsessionsinbcipipeline AT heatherkempton novelmachinelearningdrivencomparativeanalysisofcspstftandcspstftfusionforeegdataclassificationacrossmultiplemeditationandnonmeditationsessionsinbcipipeline AT hanswguesgen novelmachinelearningdrivencomparativeanalysisofcspstftandcspstftfusionforeegdataclassificationacrossmultiplemeditationandnonmeditationsessionsinbcipipeline |