Skip to main content
TSIGenerator creates diverse series by combining randomized trend, seasonality, and irregular components. Each generated series samples a fresh configuration, so one call can produce a varied synthetic pool. yt=T(t)+βˆ‘hSh(t)+It(additive),yt=T(t)∏hSh(t)+It(multiplicative)y_t = T(t) + \sum_{h} S_h(t) + I_t \quad \text{(additive)}, \qquad y_t = T(t)\prod_{h} S_h(t) + I_t \quad \text{(multiplicative)} The component-based construction is informed by Bahrpeyma et al.Β (2021), A Methodology for Validating Diversity in Synthetic Time Series Generation. SynForecast’s component families, sampling distributions, and stability guards are its own design choices rather than a reproduction of the paper’s generator.

Generate a diverse pool

Lengths are fixed here to make the series easy to compare. The remaining defaults randomize the trend shape, seasonal harmonics, irregular process, magnitude, and additive or multiplicative composition.

Constrain the component pool

Every component family can be narrowed when a dataset needs a more specific inductive bias. This example limits the pool to linear or damped trends, one or two seasonal components, and Gaussian or AR(1) irregularity.
Related generators
  • TCM β€” random causal-graph dynamics; KernelSynth β€” Gaussian-process kernel compositions.
  • Balanced pool β€” interpretable single-mechanism generators for benchmarking.
Full parameters are in the generator reference.