This question is regarding neural network EEG classification..
9 views (last 30 days)
I have .mat dataset two class , with three dimension. for example : 62 x 512 x 189 I have processed the signals with spectrogram command and [S,F,T,P] = spectrogram(data,256,224,256,fs). Now I need to feed this output to CNN for classification. I am not sure how to feed the stft in cnn, do i need to follow any specific format. Also I dont have any labels in my dataset. how to input labels in TrainNetwork. Can some one please guide me here. Also Is there a way to do this process using svm ? or Can I save this spectrograms as images and perform classification?
Yomna Genina on 7 Dec 2021
I would recommend checking out this example on converting scalograms to images for use in a CNN:
as well as this example on classifying ECG signals using LSTM: