Learn Before
Example

Sinusoidal Synthetic Sequence Data Example

A concrete example of generating synthetic sequence data uses T=1000T = 1000 time steps. At each step tt, the observed value is computed as xt=sin(0.01t)+ϵtx_t = \sin(0.01 \cdot t) + \epsilon_t, where ϵt\epsilon_t is drawn from a standard normal distribution and scaled by 0.20.2, giving the noise a standard deviation of 0.20.2. The underlying sinusoidal signal provides a smooth, periodic ground truth, while the additive noise makes the prediction task nontrivial. Assuming a τth\tau^{\textrm{th}}-order Markov condition with τ=4\tau = 4, the dataset is split so that the first 600600 examples (out of Tτ=996T - \tau = 996) 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

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L