We’re building a lightweight demand forecasting engine on top of manually entered operational data. No POS integration, no external feeds. Deliberately constrained by design.
The setup: operators log 4 to 5 signals daily (revenue, covers, waste, category mix, contextual flags like weather or local events). The engine outputs a weekly forward-looking directive. What to expect, what to prep, what to order. With a stated confidence level.
Current architecture thinking:
Days 1 to 30: statistical baseline only (day-of-week decomposition + trend). No ML.
Day 30+: light global model across entities (similar venues train together, predict individually)
Outlier flagging before training, not after. Corrupted signal days excluded from the model entirely.
Confidence scoring surfaced to the end user, not hidden.
Three specific questions:
- Global vs local model at small N With under 10 venues and under 90 days of history per venue, is a global model (train on all, predict per entity) actually better than fitting a local statistical model per venue? Intuition says global wins due to shared day-of-week patterns, but unclear at this data volume.
- Outlier handling in sparse series Best practice for flagging and excluding anomalous days before training, especially when you can’t distinguish a real demand spike from a data entry error without external validation. Do you model outliers explicitly or mask and interpolate?
- Confidence intervals that operators will trust Looking for a lightweight implementation that produces calibrated prediction intervals on short tabular time series. Considering conformal prediction or quantile regression. Open to alternatives.
Context: output is consumed by non-technical operators. Confidence needs to be interpretable as “high confidence” vs “low confidence”, not a probability distribution.
[link] [comments]
![[Boost]](/_next/image?url=https%3A%2F%2Fmedia2.dev.to%2Fdynamic%2Fimage%2Fwidth%3D800%252Cheight%3D%252Cfit%3Dscale-down%252Cgravity%3Dauto%252Cformat%3Dauto%2Fhttps%253A%252F%252Fdev-to-uploads.s3.amazonaws.com%252Fuploads%252Fuser%252Fprofile_image%252F3618325%252F470cf6d0-e54c-4ddf-8d83-e3db9f829f2b.jpg&w=3840&q=75)



