You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### What do you need for the machine learning data acquisition and testing:
4
+
5
+
To make the data acquisition you need a Pycom device + a Pysense or a Pytrack.
6
+
7
+
You also need to update the device firmware to the latest version - v1.20.2.r1
8
+
9
+
The Pysense and Pytrack require libraries, please upload the **pycoproc.py**, **LIS2HH12.py** to the device repository **lib/**. In case of Pysense upload the **pysense.py** in case of Pytrack upload **pytrack.py**.
10
+
Those libraries can be find in [**Pycom Libraries**](https://github.com/pycom/pycom-libraries).
11
+
12
+
Check this link to learn how to create the machine learning model in Pybytes [**Model features**](/pybytes/mlintegration/modelcreation)
Copy file name to clipboardExpand all lines: content/pybytes/mlintegration/features.md
+12-5Lines changed: 12 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,13 +16,15 @@ If the device gets stuck showing the purple light, maybe the sampling should be
16
16
17
17
The data collection shows the collected samples. Click on the sample to see the graph.
18
18
19
+
* Is recommended to have the same number of samples per label. If you have collected 2 samplings for a waving movement, you should have the same number of sampling for the other movements (labels) as well.
Signal processing is used to extract features for the Neural Network module.
25
+
Signal processing is used to extract features for the Neural Network module.
24
26
25
-
There are many ways to extract features. The simplest way is using convolutional layers, but doing this there is no control of what features will be used and also the convolutional layers make the neural network bigger, so more data is needed for training.
27
+
There are many ways to extract features. The simplest way is using convolutional layers, but doing this there is no control of what features will be used and also the convolutional layers make the neural network bigger, so more data is needed for training.
26
28
27
29
Signal processing provides an easy and intuitively way to extract features and also the features can be analyzed using different methods.
28
30
@@ -54,9 +56,9 @@ To select the desired features and also to see the filtered data and calculated
54
56
55
57
#### Training
56
58
57
-
The neural network receives its input from the Signal Processing block.
59
+
The neural network receives its input from the Signal Processing block.
58
60
59
-
The number of layers and the number of neurons in this layer can be selected by the user. For the moment there are supported only dense layers as hidden layers. Other parameters that can be selected are: the number of training epochs, the learning rate and the confidence threshold.
61
+
The number of layers and the number of neurons in this layer can be selected by the user. For the moment there are supported only dense layers as hidden layers. Other parameters that can be selected are: the number of training epochs, the learning rate and the confidence threshold.
60
62
61
63
To train the model, fill the Neural Network Settings form and click on **START TRAINING** button.
62
64
@@ -88,4 +90,9 @@ Select the devices and click on the **DEPLOY MODEL** button.
* Once you have the model deployed on the devices, it can be used for furthers applications like movement detection and so on.
94
+
95
+
* This file is going to be used by the device firmware, and once generated it should not be changed by the user. Any changes can cause features to malfunction.
0 commit comments