How to prepare the Input for feedforward neural network?

조회 수: 3(최근 30일)
Joana 2019년 12월 13일
댓글: Dheeraj Singh 2019년 12월 16일
Hi All,
I have to use feedforward neural network for 2-class classification problem. I have EEG data (of 1s, recorded at the sampling frequency of 1200) for two mental states in the following format: Number of EEG channels x Number of samples/points x Number of iterations = 22x1200x200; As the awake and asleep mental state was recorded for 100 times each.
I'm confused that how i should prepare the input signal for feedforward neural network.?
In most of the literature the input layer is equal to the number of channels, but in the examples of NN database they follow the following format:
Input signal= samples x iterations
Targets= number of classes x iterations
Based on what i inferred from the examples i prepared my data in the following format:
Input Signal= 26400x 200
Targets= 2x 200
Although i'm getting acceptable results, but i am not sure if this the right way to it.?


Dheeraj Singh
Dheeraj Singh 2019년 12월 16일
You can refer to the following example where Machine Learning techniques have been used on EEG data:
  댓글 수: 2
Dheeraj Singh
Dheeraj Singh 2019년 12월 16일
Its difficult to comment on the data without looking at it.
There are some basic things you can look at such as:
  1. For each output there is a signal
  2. Each signal can be described as a set of features
If you don't know the features you can use feature extraction to extract the features from the signals. Please refer to the following link:
The following example gives the entire workflow for ECG signals including feature extraction:

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by