
How many bikes will people rent tomorrow? A forecasting AI model can learn from past rental counts and calendar patterns. A fair test must respect the clock. Yenra evaluated three one-day-ahead forecasts against the same 91 later observations in the Washington, DC, bike-sharing data, using only information that would have been known before each forecast day.
Which columns would give away the answer?
The UCI Bike Sharing archive includes daily rentals for 2011 and 2012. Its casual and registered rider counts add up to the daily total, so those same-day counts cannot be inputs to a forecast of that total. We also left out weather measured on the target day. The comparison covers completed rentals, which can fall short of demand if bikes are unavailable. Hadi Fanaee-T’s UCI Bike Sharing dataset

What did learning add to two weekday baselines?
The first forecast copied the count seven days earlier. The second averaged the preceding four matching weekdays. The fitted linear regression used calendar features and rental counts through the previous day. We fitted it once on 612 eligible days before October 2, 2012. All three methods could use newly observed counts on subsequent days, while the fitted coefficients stayed fixed.
The inputs were the previous day, previous week, seven-day mean, linear time trend, annual sine and cosine, holiday flag and weekday. From October 2 through December 31, mean absolute errors were 1,466, 1,246 and 975 rentals per day, respectively, rounded to whole rentals. Each measure averages the size of the misses regardless of direction. October 29 was the largest absolute miss for all three. The counts tell us how far they missed. Establishing why would require other dated evidence.

Download the 91 daily observations and forecasts (CSV). Dates and counts are from Hadi Fanaee-T’s Bike Sharing dataset, UCI Machine Learning Repository, CC BY 4.0. Yenra calculated the forecasts. The fitted predictions in the download are rounded to three decimals. Creative Commons license.

What would change a staffing decision?
A system-wide daily forecast cannot tell a station manager whether bikes will be available outside one office at 08:30. For that decision, build a station-and-time test, use only data available by the staffing cutoff and score costly shortages separately from surpluses. For another example of matching the outcome to the decision, see the workload placement guide. When Can an AI Forecast Help Two Cloud Workloads Share a Machine?

Try it with the evidence
Score the first held-out day
Source notes. Published comparison for October 2, 2012. Actual rentals 4,639. The previous-week forecast was 7,538, the four-week weekday mean was 6,560.5 and the fitted regression predicted 6,816.609. The 91-day mean absolute errors were approximately 1,466, 1,246 and 975, respectively.
Prompt. Compute the three absolute errors for this day. Which was closest that day and which was closest on average over the 91-day test? Explain the difference.
Check your reading
The absolute errors were 2,899, 1,921.5 and 2,177.609 rentals. The four-week weekday mean won on this day. The regression had the smallest average miss over the full test. Selecting a method from a single day would miss that distinction.
Illustrated field notes
Source observations and their timing






