lenatriestounderstand

Section 4 of 8

Time Series

Data preparation, forecasting models, deep learning, foundation models, evaluation, maintenance.

18 items in this section.

Long reads

01

Time Series Data: Univariate, Multivariate, Panel, and Exogenous Variables

A practical guide to the main types of time series data and the common confusion between multivariate, panel, and exogenous-variable forecasting.

  • forecasting
  • multivariate
Read
Updated May 3, 2026
02

Time Series Preprocessing: Interpolation, Bucketing, Time Zones, and Missing Intervals

A hands-on explanation of how raw time series data is cleaned, regularized, interpolated, bucketed, and prepared for reliable modeling or visualization.

  • preprocessing
  • interpolation
  • bucketing
Read
Updated May 3, 2026
03

Anomaly Detection: Statistical Baselines

An introduction to statistical baseline methods for time-series anomaly detection: Z-Score, IQR, moving averages, simple ensembles, and evaluation metrics.

  • anomaly-detection
  • z-score"
  • iqr
  • ensemble-methods
Read
Updated May 3, 2026
04

Classical Statistical Forecasting: ARIMA, SARIMA, and SARIMAX

A practical guide to ARIMA, SARIMA, and SARIMAX: how classical statistical forecasting models handle autocorrelation, differencing, seasonality, external regressors, diagnostics, and where they still fit in modern forecasting.

  • arima
  • sarima
  • sarimax
  • statistical-models
Read
Updated May 5, 2026
05

Deep Learning Architectures for Time Series

An overview of deep learning architectures for time-series forecasting: LSTM, TCN, DeepAR, N-BEATS, and TFT, with a focus on input shapes, local vs global training, covariates, probabilistic outputs, and practical model selection.

  • lstm
  • n-beats
  • tft
  • deepar
Read
Updated May 5, 2026
06

RNN and LSTM for Time-Series Forecasting

How recurrent networks model sequences: vanilla RNN, the vanishing-gradient problem, the LSTM gating mechanism, cell state, and the practical use of return_sequences in Keras.

  • lstm
  • rnn
  • vanishing-gradients
Read
Updated May 5, 2026
07

TCN: Causal and Dilated Convolutions for Time Series Forecasting

A practical explanation of Temporal Convolutional Networks for time-series forecasting: causal convolutions, dilations, receptive field, residual blocks, optional GLU gating, output heads, and when TCN is useful as a standalone or hybrid forecasting component.

  • tcn
Read
Updated May 5, 2026
08

Playing with a Hybrid Architecture for Forecasting

Playing with a hybrid forecasting architecture, assembled out of common neural building blocks: TCN front-end, LSTM recurrence, multi-head attention, TFT-style VSN feature routing with GRN, N-BEATS-style decomposition heads, seasonal and event branches.

  • lstm
  • deep-learning
Read
Updated May 5, 2026
09

Practical Training Recipes for Deep Learning Time Series

A practical checklist for training deep learning time-series models, covering windowing, initialization, embeddings, regularization, optimizers, learning-rate schedules, loss functions, and the Keras training workflow.

  • training
  • regularization
  • optimization
Read
Updated May 6, 2026
10

Interpretability and Production Maintenance for Deep Learning Time Series

A practical guide to the post-training lifecycle of deep learning forecasters, covering SHAP-based prediction explanations, lightweight recalibration for drift, and the broader production-maintenance roadmap.

  • interpretability
  • shap
  • model-maintenance
Read
Updated May 14, 2026

Shorts

Shorts

Walk-Forward Validation: Why k-Fold Leaks the Future

Random k-fold CV reshuffles time. On time series that means training on the future to predict the past — and quietly inflating every metric. The correct alternatives are expanding-window and rolling-window CV.

  • time-series
  • cross-validation
  • evaluation
Read
Jun 7, 2026
Shorts

STL Decomposition: Trend + Seasonal + Residual

Three components, one additive identity. STL splits a series into trend, seasonality, and residual so you can see what's actually in it before modeling — and the same decomposition idea propagates into modern deep architectures like N-BEATS.

  • time-series
  • stl
  • decomposition
  • eda
Read
Jun 7, 2026
Shorts

What is a TCN?

TCN stands for Temporal Convolutional Network — a causal CNN with dilated convolutions that gives sequence models exponential receptive field for the cost of linear depth.

  • time-series
  • tcn
  • deep-learning
Read
May 27, 2026
Shorts

Univariate vs multivariate time series

Univariate is one signal over time. Multivariate is many signals over time. The decision between them is about whether the extra signals actually carry information about the target.

  • time-series
  • fundamentals
Read
May 27, 2026
Shorts

ARIMA and SARIMA, on one page

ARIMA in three letters: AutoRegression, Integration, Moving Average. SARIMA adds seasonal versions of each. Together they handle the linear, stationary case — which covers a surprising amount of forecasting.

  • time-series
  • arima
  • sarima
  • classical-forecasting
Read
May 27, 2026
Shorts

Interpolating a time series

Each interpolation method makes a different assumption about what was happening between known measurements. The right method depends on what the signal actually does between samples, not on what's the default.

  • time-series
  • interpolation
  • preprocessing
Read
May 27, 2026
Shorts

Time series data preprocessing — the order that matters

TS preprocessing is a pipeline, not a checklist. The order of steps changes the result — scaling before handling missing values is the common trap.

  • time-series
  • preprocessing
  • data-cleaning
Read
May 27, 2026
Shorts

Time series vs panel data — what stacking series actually changes

Time series is one entity over time. Panel data is many entities over time. The new dimension — unit-level heterogeneity — is what panel methods exist to handle.

  • time-series
  • panel-data
  • econometrics
Read
May 27, 2026