Generic Timeseries Regression is a hello world example for understanding usage of regression AI models on TI MCU. This example uses a simple synthetic regression dataset where the target variable y = 1.2 sin(x) + 3.2 cos(x), with x randomly generated in the range [0, 3]. This serves as a fundamental example for deploying regression models on AM26x microcontrollers.
| Parameter | Value |
|---|---|
| CPU + OS | r5fss0-0 nortos |
| Toolchain | ti-arm-clang |
| Board | am261x-lp |
| Example folder | examples/ai/generic_timeseries_regression/ |
A synthetic regression dataset where:
| Column Name | Description |
|---|---|
| x | Randomly generated input in range [0,3] |
| y | Target: y = 1.2 sin(x) + 3.2 cos(x) |
This lightweight regression model contains approximately 1,800 parameters with one input batch normalization layer, 4 convolution layers, and 2 fully connected layers.
The model takes 4D input (N,C,H,W):
This model produces a 1D output representing the predicted values of target variable y.
For this regression task, a SimpleWindow transformation is used, which makes use of the previous frame_size datapoints for prediction of the current target value. A frame size of 10 is used in this example.
No FFT or frequency-domain feature extraction is applied - the model learns directly from raw signal values.