We will use motor imagery data for training a machine learning model capable of discerning between two classes. This prediction can be used to potentially move objects with our minds.
- Import data
- Preprocessing (load -> highpass, lowpass, notch filter -> (csp) -> artifacts -> psd -> make epochs)
- Feature extraction (load epochs -> get mu band -> average mu band -> make feature)
- Model training & prediction (train/test split -> training -> prediction)
- Input: MOABB
- Output:
.fif
->ndarray[15, 160*5*512] -> [channels, readings]
2. Preprocessing (load -> highpass, lowpass, notch filter -> (csp) -> artifacts -> psd -> make epochs)
- Input:
.fif
->ndarray[15, 160*5*512] -> [channels, readings]
- Output:
ndarray[15, 512*5, 160]
->[channels, epoch_length, n_epochs]
- Input:
ndarray[15, 512*5, 160]
->[channels, epoch_length, n_epochs]
- Output:
ndarray[15, 160]
->[channels, epoch_channel_mu_band_average]
- Input:
ndarray[15, 160]
->[channels, epoch_channel_mu_band_average]
- Output: prob. class