Study interactive :: Progress tools open in the Study Hub reader.

Time Series Exercises (Practice Pack)

These exercises are designed to make you “industry-ready” at time series forecasting: correct splits, strong baselines, honest evaluation, and clear reporting.

How to use

Use a public dataset (download yourself). Do not commit datasets or model artifacts.


Exercise 1: Plot and diagnose a series

Deliverable: a short markdown section with plots + your conclusions.

Exercise 2: Build a naive baseline

Implement and evaluate:

Report: MAE, RMSE, MAPE/SMAPE (if applicable).

Exercise 3: Proper time split

Create:

Compare random split vs time-based split and explain why random is wrong.

Exercise 4: ARIMA/SARIMA baseline

Deliverable: metrics table + a plot of predictions vs actuals.

Exercise 5: Feature engineering (lags + rolling stats)

Create features:

Train a tree model (e.g., LightGBM/XGBoost if available, else RandomForest) and compare to ARIMA.

Exercise 6: Forecast horizon experiment

Evaluate performance at:

Discuss which horizon is hardest and why.

Exercise 7: Walk-forward validation

Implement walk-forward validation and compare stability vs a single holdout split.

Exercise 8: Deep learning baseline (optional)

Focus on leakage prevention and honest evaluation.

Exercise 9: Drift + monitoring plan (production thinking)

Write a short monitoring plan:

Exercise 10: Final report (portfolio-ready)

Write a 1–2 page report: