EEG-P300Speller-Toolkit-master

所属分类:其他
开发工具:matlab
文件大小:723KB
下载次数:7
上传日期:2020-09-19 16:20:30
上 传 者LMD_go
说明:  主要用于P300信号的处理 包含PCA处理和相应的滤波程序
(the process of P300 signal)

文件列表:
.idea (0, 2019-10-23)
.idea\misc.xml (288, 2019-10-23)
.idea\modules.xml (264, 2019-10-23)
.idea\workspace.xml (3842, 2019-10-23)
.idea\代码.iml (453, 2019-10-23)
EEG_Preprocessor.py (6293, 2019-10-23)
Part Three (0, 2019-10-23)
Part Three\PCA.m (598, 2019-10-23)
Part Three\Testdatapreprocessing.m (3768, 2019-10-23)
Part Three\Untitled2.m (5790, 2019-10-23)
Part Three\average_output.m (456, 2019-10-23)
Part Three\biaccuracy.m (263, 2019-10-23)
Part Three\cheby2filter.m (418, 2019-10-23)
Part Three\example.m (5273, 2019-10-23)
Part Three\fisheriris.m (302, 2019-10-23)
Part Three\labeltest.m (163, 2019-10-23)
Part Three\linearSVM.m (3296, 2019-10-23)
Part Three\main.m (3768, 2019-10-23)
Part Three\output.m (2325, 2019-10-23)
Part Three\output_final.m (883, 2019-10-23)
Part Three\test_output.m (1026, 2019-10-23)
Part Three\test_validation.m (1229, 2019-10-23)
Part Three\topoplotEEG.m (10809, 2019-10-23)
Part Three\totaloutput.m (3008, 2019-10-23)
Part Three\trainClassifier.m (59722, 2019-10-23)
Part Three\usebagging.m (6766, 2019-10-23)
common (0, 2019-10-23)
common\ButterWorth_filter.py (815, 2019-10-23)
common\CSP(Spatial Filter).py (1812, 2019-10-23)
common\__pycache__ (0, 2019-10-23)
common\__pycache__\classifier.cpython-36.pyc (3748, 2019-10-23)
common\__pycache__\datawrapper.cpython-36.pyc (2652, 2019-10-23)
common\__pycache__\optimizer.cpython-36.pyc (2139, 2019-10-23)
common\__pycache__\regressor.cpython-36.pyc (519, 2019-10-23)
common\__pycache__\utils.cpython-36.pyc (1871, 2019-10-23)
common\classifier.py (5228, 2019-10-23)
common\datawrapper.py (2617, 2019-10-23)
common\optimizer.py (1894, 2019-10-23)
... ...

# EEG-P300Speller_Model-util This repository contains 3 part. Including PYTHON codes and MATLAB codes. # Part One: EEG Signal Classificatrion with Deep Learning Model (Stacked CNN and RNN)-Keras P300_CNN_1_GRU_A.py: A Python File in which is the model of a combination of CNN and GRU to determine if the EEG signal sequence contains P300 wave. The brief of the model-1 (Stacked CNN & RNN): 1, A CNN is responsbile for spatial domain feature extraction. 2, A GRU is repsonsible for temporal domain feature extraction. 3, Dropout is introduced to prevent overfitting and to improve the accuracy. ![Stacked RNN and CNN Model](/images/Model.png) The brief of model-2 (Stacked CNN)-not contained in repository: 1, A CNN is responsbile for spatial domain feature extraction. 2, A CNN is repsonsible for temporal domain feature extraction. 3, Dropout is introduced to prevent overfitting and to improve the accuracy. ![The Perfromance of Several Models](/images/Model_Identification.png) # Part Two: A Toolkit package for EEG Signals preprocessing. List and brief description: 1, EEG_Preprocessor.py: A python file where the code for a series of EEG Signals preprocessing procedure is included. Including: load_data, extract_eegdata, extract_feature, etc. Operations before classification: 1) band-pass butter-6 filter to remove the noises irrelevant to classification; 2) using sliding averaging window to downsample signal data; (the file below please see in the common folder) 2, classifier.py: A python file where the code for several simple classifiers for P300 classification is included. Including: 1) Fisher's Linear Discirminant Analysis; 2) Logistic Regression (Iterative reweighted least square (IRLS) by Newton-Raphson); 3) Logistic regression for binary classification using SGD algorithm; 4) Softmax Regression using SGD; 3, optimizer.py: A python file where the code for some classic optimizers is included. Including: 1) AdamOptimizer; 2) LbfgsOptimizaer; 4, regressor.py: A python file where the code for Ridge Regression is included. 5, standard.py: A python file where the code for some criterions for ML model evaluation is included. 6, CSP(Spatial_Filter).py: A python file where the code for Common Spatial Pattern, a powerful tool to realize signal data feature extraction, is included. For more about the CSP, please consult: https://blog.csdn.net/missxy_/article/details/812***953 7, ButterWorth(temporalfilter).py: A python file where the code for Common Spatial Pattern, a powerful tool to remove noises, is included. 8, utils.py: includes several machine learning gears. # Part Three: A Bagging Ensemble SVM to classify EEG Signals (the file below please see in the Part Three folder) It is all written in Matlab. Consult the main.m file for the code logics.

近期下载者

相关文件


收藏者