feat: Pybytes ML integration
19
config.toml
@@ -1408,12 +1408,19 @@ theme = "doc-theme"
|
||||
parent = "pybytes"
|
||||
weight = 80
|
||||
|
||||
[[menu.main]]
|
||||
name = "Pymesh Integration"
|
||||
url = "/pybytes/pymeshintegration/"
|
||||
identifier = "pybytes@pymeshintegration"
|
||||
parent = "pybytes"
|
||||
weight = 90
|
||||
[[menu.main]]
|
||||
name = "Pymesh Integration"
|
||||
url = "/pybytes/pymeshintegration/"
|
||||
identifier = "pybytes@pymeshintegration"
|
||||
parent = "pybytes"
|
||||
weight = 90
|
||||
|
||||
[[menu.main]]
|
||||
name = "Machine Learning"
|
||||
url = "/pybytes/mlintegration/"
|
||||
identifier = "pybytes@mlintegration"
|
||||
parent = "pybytes"
|
||||
weight = 100
|
||||
|
||||
[[menu.main]]
|
||||
name = "Amazon IoT"
|
||||
|
||||
16
content/pybytes/mlintegration/_index.md
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
title: "Machine Learning Integration"
|
||||
aliases:
|
||||
---
|
||||
|
||||
## What does Machine Learning integration offer you?
|
||||
|
||||
This documentation is a quick introduction to the new Machine Learning integration features on Pybytes.
|
||||
|
||||
The Machine Learning integration is here to help you to create smart machine learning models using Pycom devices.
|
||||
|
||||
## Let's get started!
|
||||
|
||||
* [Machine Learning Model Creation](/pybytes/mlintegration/modelcreation)
|
||||
|
||||
* [Machine Learning Features](/pybytes/mlintegration/features)
|
||||
65
content/pybytes/mlintegration/features.md
Normal file
@@ -0,0 +1,65 @@
|
||||
## Model Features
|
||||
|
||||
### Data Acquisition
|
||||
|
||||
#### Create Sample
|
||||
|
||||
In the data acquisition module the samples for training can be collected.
|
||||
|
||||
After setting all sample parameters in the form click on **Create Sample** to start.
|
||||
|
||||
The sampling occurs when the device led is amber, when the light turns purple, the device is processing and saving the samples.
|
||||
|
||||
If the device gets stuck showing the purple light, maybe the sampling should be done again.
|
||||
|
||||
#### Data Collection
|
||||
|
||||
The data collection shows the collected samples. Click on the sample to see the graph.
|
||||
|
||||

|
||||
|
||||
### Processing
|
||||
|
||||
#### Raw Data
|
||||
|
||||
In the processing tab, the Windows Size and Windows Step should be filled. Select the data range on the graph to fill the Windows step.
|
||||
|
||||
#### Spectral Analysis
|
||||
|
||||
After selecting the data range to be analyzed. Fill the form and click in the button **Process Signal**
|
||||
|
||||

|
||||
|
||||
#### Training
|
||||
|
||||
Fill the Neural Network Settings form and click on **START TRAINING** to train the model.
|
||||
|
||||
The results can be checked on the Training Performance section.
|
||||
|
||||

|
||||
|
||||
#### Testing
|
||||
|
||||
In the module, the samples for testing can be collected.
|
||||
|
||||
After setting all sample parameters in the form click on **Create Sample** to start.
|
||||
|
||||
#### Data Collection
|
||||
|
||||
The data collection shows the testing collected samples. Click on the **Test xxx Samples** to test the module.
|
||||
|
||||

|
||||
|
||||
After the testing is performed, the results can be checked below the Data collection form.
|
||||
|
||||

|
||||
|
||||
#### Model Deployment
|
||||
|
||||
After all training and testing, the model can be deployed into the devices.
|
||||
|
||||
Select the devices and click on the **DEPLOY MODEL** button.
|
||||
|
||||

|
||||
|
||||
[**Machine Learning Integration**](/pybytes/mlintegration)
|
||||
42
content/pybytes/mlintegration/modelcreation.md
Normal file
@@ -0,0 +1,42 @@
|
||||
## Model Creation
|
||||
|
||||
The first step to use the machine learning feature on Pybytes is the model creation.
|
||||
|
||||
The Machine Learning app can be accessed in the main sidebar.
|
||||
|
||||

|
||||
|
||||
|
||||
To create a new model, click on **ADD MODEL** button and follow the wizard.
|
||||
|
||||
The existing models are listed below.
|
||||
|
||||

|
||||
|
||||
### Model Wizard
|
||||
|
||||
#### The first step is the model definition.
|
||||
|
||||
In the model definition the fields **Name**, **Description**, and **Sample frequency** should be fulfilled.
|
||||
|
||||

|
||||
|
||||
#### The second step is the model configuration.
|
||||
|
||||
In the model configuration, the processing block type and learning block technique should be selected.
|
||||
|
||||
In the beta version, only the Spectral Analysis (processing block type) and Neural Network (learning block technique) are available.
|
||||
|
||||

|
||||
|
||||
#### The third step is the Device Selection.
|
||||
|
||||
In the third step the devices that will be used to train and test the model should be selected.
|
||||
|
||||

|
||||
|
||||
And now the model is ready to be used!
|
||||
|
||||

|
||||
|
||||
Check this link to learn how to train and test the model [**Model features**](/pybytes/mlintegration/features)
|
||||
BIN
static/gitbook/assets/pybytes/ml/data_acquisition.png
Normal file
|
After Width: | Height: | Size: 511 KiB |
BIN
static/gitbook/assets/pybytes/ml/data_acquisition_graph.png
Normal file
|
After Width: | Height: | Size: 291 KiB |
BIN
static/gitbook/assets/pybytes/ml/deploy.png
Normal file
|
After Width: | Height: | Size: 194 KiB |
BIN
static/gitbook/assets/pybytes/ml/ml_page.png
Normal file
|
After Width: | Height: | Size: 145 KiB |
BIN
static/gitbook/assets/pybytes/ml/model_config.png
Normal file
|
After Width: | Height: | Size: 208 KiB |
BIN
static/gitbook/assets/pybytes/ml/model_created.png
Normal file
|
After Width: | Height: | Size: 211 KiB |
BIN
static/gitbook/assets/pybytes/ml/model_definition.png
Normal file
|
After Width: | Height: | Size: 202 KiB |
BIN
static/gitbook/assets/pybytes/ml/model_main_page.png
Normal file
|
After Width: | Height: | Size: 371 KiB |
BIN
static/gitbook/assets/pybytes/ml/processing.png
Normal file
|
After Width: | Height: | Size: 286 KiB |
BIN
static/gitbook/assets/pybytes/ml/processing_output.png
Normal file
|
After Width: | Height: | Size: 323 KiB |
BIN
static/gitbook/assets/pybytes/ml/pybytes_front_page.png
Normal file
|
After Width: | Height: | Size: 649 KiB |
BIN
static/gitbook/assets/pybytes/ml/select_device.png
Normal file
|
After Width: | Height: | Size: 226 KiB |
BIN
static/gitbook/assets/pybytes/ml/testing.png
Normal file
|
After Width: | Height: | Size: 213 KiB |
BIN
static/gitbook/assets/pybytes/ml/testing_results.png
Normal file
|
After Width: | Height: | Size: 163 KiB |
BIN
static/gitbook/assets/pybytes/ml/training.png
Normal file
|
After Width: | Height: | Size: 227 KiB |