Skip to content

Commit fc3e65d

Browse files
committed
feat: additional information added to ml doc
1 parent ac23493 commit fc3e65d

File tree

3 files changed

+26
-5
lines changed

3 files changed

+26
-5
lines changed

content/pybytes/mlintegration/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ The Machine Learning integration is here to help you to create smart machine lea
1111

1212
## Let's get started!
1313

14+
* [Device Settings](/pybytes/mlintegration/devicesettings)
15+
1416
* [Machine Learning Model Creation](/pybytes/mlintegration/modelcreation)
1517

1618
* [Machine Learning Features](/pybytes/mlintegration/features)
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## Device Settings
2+
3+
### 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)

content/pybytes/mlintegration/features.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@ If the device gets stuck showing the purple light, maybe the sampling should be
1616

1717
The data collection shows the collected samples. Click on the sample to see the graph.
1818

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.
20+
1921
![Data Acquisition](/gitbook/assets/pybytes/ml/data_acquisition_graph.png)
2022

21-
### Signal Processing
23+
### Signal Processing
2224

23-
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.
2426

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.
2628

2729
Signal processing provides an easy and intuitively way to extract features and also the features can be analyzed using different methods.
2830

@@ -54,9 +56,9 @@ To select the desired features and also to see the filtered data and calculated
5456

5557
#### Training
5658

57-
The neural network receives its input from the Signal Processing block.
59+
The neural network receives its input from the Signal Processing block.
5860

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.
6062

6163
To train the model, fill the Neural Network Settings form and click on **START TRAINING** button.
6264

@@ -88,4 +90,9 @@ Select the devices and click on the **DEPLOY MODEL** button.
8890

8991
![Model Deployment](/gitbook/assets/pybytes/ml/deploy.png)
9092

93+
* 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.
96+
97+
9198
[**Machine Learning Integration**](/pybytes/mlintegration)

0 commit comments

Comments
 (0)