liveBook · Manning

Forecasting algorithm

As explained in The Well-Grounded Data Analyst

A forecasting algorithm is a computational procedure that predicts future values from historical or other explanatory data.

A forecasting algorithm predicts future values from time-series data. Before applying one to road-traffic measurements, establish what each row represents, how records vary across locations and time, and whether observations arrive at consistent intervals. section 8.3

Prepare the data by checking:

  • Granularity, including whether each row represents a location-day or another unit. section 8.3
  • Geographic and temporal coverage, including unequal record lengths across locations. section 8.3
  • Gaps and inconsistent intervals, which can prevent many forecasting algorithms from working reliably. section 8.3
  • Traffic distributions, daily and weekly variation, yearly seasonality, and growth trends before narrowing analysis to better-covered locations. section 8.3

Road-traffic forecasting

Bicycle counts from multiple locations can be explored with line charts to reveal temporal behavior, expose data limitations, and support conversations about additional datasets and priorities. section 8.3

How The Well-Grounded Data Analyst covers it

How deep it goes
Explains readiness checks and filtering, but stops short of specifying a forecasting algorithm or its implementation.
Examples
Uses bicycle counts across locations, days, times, and years, with line charts as the primary visualization.
What it assumes
Requires basic time-series awareness while teaching granularity, coverage, gaps, distributions, and temporal patterns from the data.
What you can do after
Evaluate data readiness for forecasting, identify usable locations, and discuss additional datasets with domain experts.
How it connects
Connects forecasting algorithms with time-series data, data preparation, temporal patterns, seasonality, and line charts.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of The Well-Grounded Data Analyst. The section links point to the parts of the book it draws on.