XBrainLab
1
The Cognitive Engineering and Computational Neuroscience Lab (CECNL)
National Yang Ming Chiao Tung University (NYCU), Taiwan
23/12/16 NeurIPS AI4Science workshop
XBrainLab
3
XBrainLab
4
Use case demo
5
C. -S. Wei, T. Koike-Akino and Y. Wang, "Spatial Component-wise Convolutional Network (SCCNet) for Motor-Imagery EEG Classification," 2019 9th International IEEE/EMBS Conference on Neural Engineering (NER), 2019, pp. 328-331, doi: 10.1109/NER.2019.8716937.
Has a square activation layer: maybe try normalizing your dataset after loading if the values are small
XBrainLab
6
Regular Expression for parsing subject/session from filename
In this case: A0(?P<subject>[1-9])(?P<session>[T|E]).gdf
XBrainLab
7
Load label files for each data loaded
(Currently has to be done manually on GUI)
XBrainLab
8
After importing data
XBrainLab
9
Select 22 EEG channels
XBrainLab
10
XBrainLab
11
Downsample to 125 Hz
XBrainLab
12
XBrainLab
13
Edit Event names
XBrainLab
14
After preprocessing
XBrainLab
15
Select the data splitting method
XBrainLab
16
Divide by ratio/number/manual input
(Invalid message on incomplete intermediate inputs is currently normal)
XBrainLab
17
“select” split result: currently under development
select a split result in the table and check for dataset contents (useful for checking class imbalance)
XBrainLab
18
Load your trained weights
EEGNet: Lawhern, Vernon J., et al. "EEGNet: a compact convolutional neural network for EEG-based brain–computer interfaces." Journal of neural engineering 15.5 (2018): 056013.
SCCNet: Wei, Chun-Shu, Toshiaki Koike-Akino, and Ye Wang. "Spatial component-wise convolutional network (SCCNet) for motor-imagery EEG classification." 2019 9th International IEEE/EMBS Conference on Neural Engineering (NER). IEEE, 2019.
ShallowConvNet: Schirrmeister, Robin Tibor, et al. "Deep learning with convolutional neural networks for EEG decoding and visualization." Human brain mapping 38.11 (2017): 5391-5420.
XBrainLab
19
If you redo the training, previous results will be automatically backed up in the same location
XBrainLab
20
XBrainLab
21
Click to plot loss, accuracy, AUC or learning rate curve
The plots shows after selecting plan-repeat
XBrainLab
22
XBrainLab
23
XBrainLab
24
Export model output
Export csv
XBrainLab
25
Selected channels from the left is recorded in the right
XBrainLab
26
XBrainLab
27
XBrainLab
28
XBrainLab
29
Spin the head around and toggle timestamp bar for observation
plots 3d topo
for a specific plan-repeat-class
XBrainLab
30
XBrainLab
31
Save or copy the script
* Add “lab.show_ui()” at the end of the code, to show GUI window for the finished running script.
XBrainLab
32