Impulse design & Experiments
Last updated
Last updated
After collecting data for your project, you can now create your Impulse. A complete Impulse will consist of 3 main building blocks: input block, processing block and a learning block. A project can contain multiple impulses, or Experiments, where each impulse contains either the same combination of blocks or a different combination. This allows you to view the accuracy and model prediction results for various types of learning and processing blocks, while using the same input training and testing datasets.
The Experiments view lists all of your active impulses within your project. Want to experiment with both FOMO and MobileNet SSD simultaneously on the same dataset? No problem! Just add two impulses and use the new dropdown menu under Impulse design in the left navigation bar to switch between them. This view also allows you to view Model testing results for various model configurations in one project overview:
Unlimited experiments available with Edge Impulse Professional and Enterprise Plans
Try our Professional Plan or FREE Enterprise Trial today to get unlimited impulse experiments per project!
This view is one of the most important, here you will build your own machine learning pipeline.
Impulse example for movement classification and anomaly detection (multi-model) using accelerometer data
Impulse example for object detection using images
The input block indicates the type of input data you are training your model with. This can be time series (audio, vibration, movements) or images.
The input axes field lists all the axis referenced from your training dataset
The window size is the size of the raw features that is used for the training
The window increase is used to artificially create more features (and feed the learning block with more information)
The frequency is automatically calculated based on your training samples. You can modify this value but you currently cannot use values lower than 0.000016 (less than 1 sample every 60s).
Zero-pad data: Adds zero values when raw feature is missing
Below is a sketch to summarize the role of each parameters:
Axes: Images
Image width & height: Most of our pre-trained models work with square images.
Resize mode: You have three options, Squash, Fit to the shortest axis, Fit to the longest axis
A processing block is basically a feature extractor. It consists of DSP (Digital Signal Processing) operations that are used to extract features that our model learns on. These operations vary depending on the type of data used in your project.
You don't have much experience with DSP? No problem, Edge Impulse usually uses a star to indicate the most recommended processing block based on your input data as shown in the image below.
In the case where the available processing blocks aren't suitable for your application, you can build your own custom processing blocks and import into your project.
After adding your processing block, it is now time to add a learning block to make your impulse complete. A learning block is simply a neural network that is trained to learn on your data.
Learning blocks vary depending on what you want your model to do and the type of data in your training dataset. Algorithms include: classification, regression, anomaly detection, image transfer learning, keyword spotting or object detection. You can also create your own custom learning block (enterprise feature).