Learn Before
Example
Sinusoidal Synthetic Sequence Data Example
A concrete example of generating synthetic sequence data uses time steps. At each step , the observed value is computed as , where is drawn from a standard normal distribution and scaled by , giving the noise a standard deviation of . The underlying sinusoidal signal provides a smooth, periodic ground truth, while the additive noise makes the prediction task nontrivial. Assuming a -order Markov condition with , the dataset is split so that the first examples (out of ) serve as training data, covering approximately one full period of the sine function, while the remaining examples are reserved for evaluation.
0
1
Updated 2026-05-13
Tags
D2L
Dive into Deep Learning @ D2L