Devices tab with the device connected to the remote management interface.
noise
, the sample length to 1000
, and the sensor to Built-in microphone
. This indicates that you want to record 1 second of audio, and label the recorded data as noise
. You can later edit these labels if needed.
Record new data screen.
Audio waveform
60000
. Because the board transmits data quite slowly, it will take around 7 minutes before a 60 second sample appears in Edge Impulse.
Once you’ve captured around 10 minutes of data, it’s time to start designing an Impulse.
The Time Series Data block with updated parameters.
The impulse, with one processing block and one learning block.
The MFE page.
Spectrogram of background noise.
Spectrogram of a running faucet.
Audio waveform and sample dropdown box.
32
in order to lower the overhead of running the MFE block. You can play around with other parameters such as the noise floor to see how they impact the spectrogram.
For the first run through this tutorial, set your MFE parameters to match the image below:
MFE Parameters
Running the feature generation process.
The NN Classifier page.
The Model panel.
The Classify new data panel.
The results of classifying a new sample.
The Test data panel.
⋮
icon and select Edit expected outcome, then enter noise
. Now, select the sample using the checkbox to the left of the table and click Classify selected:
Test data classification results.
Test results for a large number of samples.
⋮
icon and selecting Move to training set. If you do this, you should add some new test data to make up for the loss!
Testing your model helps confirm that it works in real life, and it’s something you should do after every change. However, if you often make tweaks to your model to try to improve its performance on the test dataset, your model may gradually start to overfit to the test dataset, and it will lose its value as a metric. To avoid this, continually add fresh data to your test dataset.
⋮
, then selecting Move to training set.200
and see if performance increases (the classified file is stored, and you can load it through ‘Classify existing validation sample’).Machine learning is thirsty work.