You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28-14Lines changed: 28 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,27 +6,34 @@ MNE/Keras/Tensorflow library for classification of EEG data
6
6
*[Kory W. Mathewson](https://github.com/korymath)
7
7
8
8

9
-
10
-
Keras/Tensorflow deep learning stacks that processes EEG trials or raw files from the MNE toolbox as input and predicts binary trial category as output (could scale to multiclass?). This is all made to run on Google Colab notebooks using cloud GPU capabilities, so the git repo's get loaded at the start of the code into the workspace. Minor mods may be needed to use local Jupyter notebook. Long term goal of command line interface and mne toolbox plugin.
9
+
10
+
DeepEEG is a Keras/Tensorflow deep learning library that processes EEG trials or raw files from the MNE toolbox as input and predicts binary trial category as output (could scale to multiclass?). This is all made to run on Google Colab notebooks using cloud GPU capabilities, so the git repo's get loaded at the start of the code into the workspace. Minor modifications may be needed to use local Jupyter notebook. Long term goal of command line interface and MNE toolbox plugin.
This loads in some example data from eeg-notebooks
32
39
@@ -64,16 +71,23 @@ model,_ = CreateModel(feats)
64
71
TrainTestVal(model,feats)
65
72
```
66
73
74
+
## Tests
75
+
76
+
You can run the unittests with the following command:
77
+
```
78
+
python -m unittest
79
+
```
80
+
67
81
Strategy:
68
-
* Load in Brain Products or Interaxon Muse files with mne as mne.raw,
82
+
* Load in Brain Products or Interaxon Muse files with mne as mne.raw,
69
83
* PreProcess(mne.raw) - normal ERP preprocessing to get trials by time by electrode mne.epochs
70
84
* FeatureEngineer(mne.epochs) - Either time domain or frequency domain feature extraction in DeepEEG.Feats class
71
85
* CreateModel(DeepEEG.Feats) - Customizes DeepEEG.Model for input data, pick from NN, CNN, LSTM, or AutoEncoders, splits data
72
86
* TrainTestVal(DeepEEG.Feats,DeepEEG.Model) - Train the model, validate it during training, and test it once complete, Plot loss during learning and at test
0 commit comments