Quest 02 / 03 · Quick build
Compare weekday forecasts on one Wikipedia traffic series
- time series
- marimo
- pandas
Why now A personal report says TimesFM 2.5 and Chronos-2 beat a weekday average on one Wikipedia series after SARIMAX overpredicted. This notebook checks a different series and keeps the date split visible.
Build it Create a marimo notebook that compares a weekday-average forecast with a previous-week seasonal forecast on one article series from a daily Wikipedia traffic dataset.
From the news
Tools
- marimo
The local marimo notebook is free Apache 2.0 software. Hosted products, optional assistants and remote data services have separate terms; their paid entitlements are not established here.
Data
- Wikipedia Web Traffic 2018-19 Kaggle
Daily Wikipedia article page views for selecting one series and testing simple forecast baselines.
Steps
- Load the daily page-view data and inspect its columns; choose one article series with enough dates for a time-ordered split.
- Reserve the final 28 days for testing and use earlier dates to calculate a weekday-average forecast.
- Calculate a seasonal-naive forecast using the previous week's value, keeping both forecast rules fixed through the test period.
- Show the forecasts and errors in marimo, then calculate mean absolute error for each method and record the series and date split.
Done when
- The notebook runs from a clean kernel and prints the series, date split, and mean absolute error for both methods.
- The test dates come after the training dates, and the displayed forecast uses no test-period observations.
