Designing and training the ML model
The dataset is in our hands. Therefore, we can start designing the ML model.
In this recipe, we will develop the following architecture with Edge Impulse:
Figure 9.20: Fully connected neural network for recognizing hand gestures from spectral features
As you can see from the preceding figure, the model, which consists of two fully connected layers, takes N0 spectral features as input. The following Getting ready section will explain the reasons behind this design.
Getting ready
In this recipe, we want to explain why the proposed feedforward neural network illustrated in Figure 9.20 is enough for recognizing gestures from accelerometer data.
When developing deep neural network architectures, we commonly feed the model with raw data, leaving the network to learn how to extract the features automatically.
This approach is effective and incredibly accurate in various applications, such as image classification...