Time Series Forecasting

Statistical and deep methods for forecasting at scale.

8 articles

  1. 01

    Time Series Forecasting (1): Traditional Statistical Models

    ARIMA, SARIMA, VAR, GARCH, Prophet, exponential smoothing and the Kalman filter, derived from a single state-space view. …

    28 min
  2. 02

    Time Series Forecasting (2): LSTM — Gate Mechanisms and Long-Term Dependencies

    How LSTM's forget, input, and output gates solve the vanishing gradient problem. Complete PyTorch code for time series …

    30 min
  3. 03

    Time Series Forecasting (3): GRU — Lightweight Gates and Efficiency Trade-offs

    GRU distills LSTM into two gates for faster training and 25% fewer parameters. Learn when GRU beats LSTM, with formulas, …

    32 min
  4. 04

    Time Series Forecasting (4): Attention Mechanisms — Direct Long-Range Dependencies

    Self-attention, multi-head attention, and positional encoding for time series. Step-by-step math, PyTorch …

    28 min
  5. 05

    Time Series Forecasting (5): Transformer Architecture for Time Series

    Transformers for time series, end to end: encoder-decoder anatomy, temporal positional encoding, the O(n^2) attention …

    28 min
  6. 06

    Time Series Forecasting (6): Temporal Convolutional Networks (TCN)

    TCNs use causal dilated convolutions for parallel training and exponential receptive fields. Complete PyTorch …

    36 min
  7. 07

    Time Series Forecasting (7): N-BEATS — Interpretable Deep Architecture

    N-BEATS combines deep learning expressiveness with classical decomposition interpretability. Basis function expansion, …

    38 min
  8. 08

    Time Series Forecasting (8): Informer — Efficient Long-Sequence Forecasting

    Informer reduces Transformer complexity from O(L^2) to O(L log L) via ProbSparse attention, distilling, and a one-shot …

    36 min