← 📈 Data Science

📈 LSTM Forecast Lab

Actual passengers
LSTM prediction
Uncertainty cone
Month:
Actual:
Predicted:
Mean abs. error:
FPS:
Drag — rotate · Scroll — zoom

📈 LSTM Airline Passenger Forecasting Lab

A 3D bar chart of monthly airline passenger totals with a sliding lookback window, an animated hidden-state cluster, and a live LSTM-style prediction tube that tightens or drifts as you change the network's memory and capacity.

🔬 What It Demonstrates

Prediction accuracy depends on both lookback window length and hidden-state size: short windows and small hidden layers under-fit the seasonal pattern, while wider context and more capacity let the blue prediction tube hug the grey actual bars.

🎮 How to Use

Adjust lookback window and hidden units to watch the mean absolute error change, then enable the 12-month forecast to see the amber uncertainty cone widen the further the model projects beyond real data.

💡 Did You Know?

The AirPassengers dataset (1949-1960) is one of the most-used toy datasets in time-series forecasting — it has trend, multiplicative seasonality, and nonstationary variance, all in just 144 points.