Complete Project Workflow
Motion workflow
Every step of a Motion project in Studio, from the first recording to a deployed model.
Try it in StudioOn this page
- 1Data acquisitionUpload or record
- 2Data labelingCheck labels and split
- 3Create impulseWindows and blocks
- 4Processing blockGenerate features
- 5Learning blockTrain the model
- 6EvaluationCheck and test
- 7DeploymentBuild a package
Each heading below matches an item in Studio's left menu.
1. Data acquisition
Add sensor recordings to your project:
- Upload CSV or JSON files. Each file is one recording. By default, the text before the first
.in the file name becomes the label, sowave.01.csvis labelled wave. - Record from a connected device, or stream over USB from an Arduino UNO Q (the USB option is on the Data labeling page).
Leave the category on automatic and Studio puts about 80 % of the recordings in the training set and 20 % in the testing set.
2. Data labeling
Check that every recording has the right label, and look at the signal to make sure it recorded correctly. Each recording has one label.
3. Create impulse
An impulse is the recipe that turns raw recordings into predictions. Set:
| Setting | Meaning | Default |
|---|---|---|
| Input axes | Which sensor columns to use | accX, accY, accZ |
| Window (ms) | Length of each piece of signal the model looks at | 1000 |
| Increase (ms) | How far the window moves before the next piece starts | 500 |
| Frequency (Hz) | Sampling rate used by the Raw Data block | 62.5 |
| Zero Padding | Recordings shorter than one window: pad them with zeros, or skip them | Zero-pad short recordings |
Then use Add a processing block (for example Spectral Analysis) and Add a learning block (for example Classification), and select Save Impulse.
4. Processing block
Your processing block now appears in the left menu. Open it:
- On the Parameters tab, check the settings and select Save parameters.
- On the Generate features tab, select Generate features. Studio runs the block on every window.
- Look at the feature explorer. If the labels form separate groups, the model will find them easier to learn.
5. Learning block
Open the learning block in the left menu (for example Classification). Set Training cycles, Learning rate, Batch size and Validation split, then select Start training. You can follow progress in the training log.
6. Evaluation
- Evaluation shows how well the model did on windows and on whole recordings.
- Model testing runs the model on your testing set.
- Live classification runs the model on new data from a connected device.
7. Deployment
Open Deployment, choose your device and precision, and build the package.