├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── __init__.py ├── core ├── __init__.py ├── callbacks.py ├── constraints.py ├── dataloaders.py ├── fbcsp │ ├── __init__.py │ ├── binary.py │ ├── clean.py │ ├── experiment.py │ ├── feature_selection.py │ ├── filterbank.py │ ├── lda.py │ ├── multiclass.py │ └── signalproc.py ├── generators.py ├── get_model.py ├── initializers.py ├── metrics.py ├── models.py ├── regularizers.py ├── splits.py ├── stats.py ├── training.py ├── utils.py └── visualization.py ├── data ├── 22scan_locs.mat ├── A │ ├── TestSet │ │ ├── README.MD │ │ ├── example_data.mat │ │ └── example_data_label.mat │ └── TrainSet │ │ ├── README.MD │ │ ├── example_data.mat │ │ └── example_data_label.mat └── README.md ├── history.py ├── model ├── README.MD └── example_model.h5 ├── model_cv.py ├── model_ensemble.py ├── model_stacking.py ├── model_test.py ├── requirements.txt ├── result └── README.MD ├── test ├── __init__.py ├── dataset_test.py ├── generator_test.py ├── metrics_test.py └── test.py ├── train.py └── vis.py /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/README.md -------------------------------------------------------------------------------- /__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/__init__.py -------------------------------------------------------------------------------- /core/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/__init__.py -------------------------------------------------------------------------------- /core/callbacks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/callbacks.py -------------------------------------------------------------------------------- /core/constraints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/constraints.py -------------------------------------------------------------------------------- /core/dataloaders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/dataloaders.py -------------------------------------------------------------------------------- /core/fbcsp/__init__.py: -------------------------------------------------------------------------------- 1 | # coding:utf-8 2 | # from https://github.com/TNTLFreiburg/fbcsp -------------------------------------------------------------------------------- /core/fbcsp/binary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/fbcsp/binary.py -------------------------------------------------------------------------------- /core/fbcsp/clean.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/fbcsp/clean.py -------------------------------------------------------------------------------- /core/fbcsp/experiment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/fbcsp/experiment.py -------------------------------------------------------------------------------- /core/fbcsp/feature_selection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/fbcsp/feature_selection.py -------------------------------------------------------------------------------- /core/fbcsp/filterbank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/fbcsp/filterbank.py -------------------------------------------------------------------------------- /core/fbcsp/lda.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/fbcsp/lda.py -------------------------------------------------------------------------------- /core/fbcsp/multiclass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/fbcsp/multiclass.py -------------------------------------------------------------------------------- /core/fbcsp/signalproc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/fbcsp/signalproc.py -------------------------------------------------------------------------------- /core/generators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/generators.py -------------------------------------------------------------------------------- /core/get_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/get_model.py -------------------------------------------------------------------------------- /core/initializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/initializers.py -------------------------------------------------------------------------------- /core/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/metrics.py -------------------------------------------------------------------------------- /core/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/models.py -------------------------------------------------------------------------------- /core/regularizers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/regularizers.py -------------------------------------------------------------------------------- /core/splits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/splits.py -------------------------------------------------------------------------------- /core/stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/stats.py -------------------------------------------------------------------------------- /core/training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/training.py -------------------------------------------------------------------------------- /core/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/utils.py -------------------------------------------------------------------------------- /core/visualization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/core/visualization.py -------------------------------------------------------------------------------- /data/22scan_locs.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/data/22scan_locs.mat -------------------------------------------------------------------------------- /data/A/TestSet/README.MD: -------------------------------------------------------------------------------- 1 | Put Test data and label here -------------------------------------------------------------------------------- /data/A/TestSet/example_data.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/data/A/TestSet/example_data.mat -------------------------------------------------------------------------------- /data/A/TestSet/example_data_label.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/data/A/TestSet/example_data_label.mat -------------------------------------------------------------------------------- /data/A/TrainSet/README.MD: -------------------------------------------------------------------------------- 1 | Put Train data and label here -------------------------------------------------------------------------------- /data/A/TrainSet/example_data.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/data/A/TrainSet/example_data.mat -------------------------------------------------------------------------------- /data/A/TrainSet/example_data_label.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/data/A/TrainSet/example_data_label.mat -------------------------------------------------------------------------------- /data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/data/README.md -------------------------------------------------------------------------------- /history.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/history.py -------------------------------------------------------------------------------- /model/README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/model/README.MD -------------------------------------------------------------------------------- /model/example_model.h5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/model/example_model.h5 -------------------------------------------------------------------------------- /model_cv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/model_cv.py -------------------------------------------------------------------------------- /model_ensemble.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/model_ensemble.py -------------------------------------------------------------------------------- /model_stacking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/model_stacking.py -------------------------------------------------------------------------------- /model_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/model_test.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/requirements.txt -------------------------------------------------------------------------------- /result/README.MD: -------------------------------------------------------------------------------- 1 | For results saving. -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/test/__init__.py -------------------------------------------------------------------------------- /test/dataset_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/test/dataset_test.py -------------------------------------------------------------------------------- /test/generator_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/test/generator_test.py -------------------------------------------------------------------------------- /test/metrics_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/test/metrics_test.py -------------------------------------------------------------------------------- /test/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/test/test.py -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/train.py -------------------------------------------------------------------------------- /vis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnBoxAnn/TSGL-EEGNet/HEAD/vis.py --------------------------------------------------------------------------------