← All posts

Demand forecasting with machine learning: start simple

Demand forecasting machine learning for tourism and retail SMEs: start with a baseline, add useful features, measure with MASE, then decide.

Demand forecasting with machine learning: start simple

Demand forecasting with machine learning is only worth building if it beats a simple forecast you could make in a spreadsheet. For most SMEs in tourism or retail, the right order is: clean history, a simple baseline, a clear accuracy measure, and only then a model. Machine learning helps most when demand depends on many things at once, such as season, price, weather, events and booking lead time. This post shows how we approach it.

Why start with a baseline?

Because it tells you whether the clever model is earning its keep. The textbook Forecasting: Principles and Practice by Hyndman and Athanasopoulos describes four simple methods that are often hard to beat:

  • Mean: forecast every future period as the historical average.
  • Naïve: forecast the last value you saw.
  • Seasonal naïve: forecast the value from the same season last time, such as the same week last year.
  • Drift: extend the line from the first observation to the last.

For a hotel or tour operator, seasonal naïve is usually the one to beat. "Same week last year" already captures most of the shape of an Icelandic season. The book's advice is blunt: if a new method doesn't beat these benchmarks, it isn't worth considering.

Which features make demand forecasts better?

Features are the inputs a model uses alongside past demand. Useful ones for SMEs include:

  • Calendar: day of week, week of year, public holidays, school holidays in your main source markets.
  • Lead time and pace: bookings already on the books for a future date, compared with the same point last year. For tourism this is often the strongest signal.
  • Price and promotions: your own price changes and campaigns.
  • External demand drivers: flight capacity, events, and public data such as monthly passenger counts or accommodation statistics.
  • Weather: for day tours and some retail, though forecasts only help a few days ahead.
  • Lags and rolling averages: demand last week, last month, the same period last year.

Tree-based models such as gradient boosting handle many features like these well, and are a common first step beyond the baseline. Deep learning is rarely needed at SME scale, where the history is short and the number of products is modest.

How do you measure forecast accuracy?

Always on data the model didn't see. Hold back the most recent stretch of history, ideally at least as long as the horizon you need, and score the forecasts against it. A model that fits the past well won't necessarily forecast well.

The common measures:

Measure What it tells you Watch out for
MAE Average size of the error, in units Can't compare across products of different size
RMSE Like MAE, but punishes big misses more Same unit problem
MAPE Average error as a percentage Breaks when actual demand is zero or near zero
MASE Error compared with a naïve forecast Below 1 means you beat the benchmark

MAPE is popular because percentages are easy to explain, but it fails on slow-moving products and quiet days. MASE is often the better choice for SMEs, because it answers the real question directly: are we beating the simple method?

When does machine learning beat simple methods?

A model tends to earn its place when several of these are true:

  • Demand depends on drivers you can measure, such as price, lead time or events, not just the calendar.
  • You forecast many items, such as products, tours or stores, and can share patterns across them.
  • Patterns shift in ways last year can't capture, such as a new route, a new channel or a changed season.
  • There is enough history, at least two or three full seasons, and it's clean.

It struggles when history is short, when a one-off shock dominates the data, or when nobody will change a decision based on the forecast.

How do we approach a forecasting project?

  1. Agree the decision. Staff rosters, stock orders, room rates and bus bookings each need a different horizon and level of detail.
  2. Build the history. One clean table of demand by item and date, with bookings by both travel date and booking date. This is usually the bulk of the work.
  3. Set the baseline and score it.
  4. Add features and models one at a time, keeping only what beats the baseline on held-out data.
  5. Forecast a range, not a point, so planners see both the likely case and the busy case.
  6. Put it where planners work, in a dashboard or the system they already use, and track accuracy every month.

The groundwork is the same data foundation that supports reporting, like the one we built for TourDesk. If you want to try a forecast on your own data, our approach explains how we scope it, and you can book a call.

Let’s build

the one view your business runs on.

Book a 30-min call
(Reykjavík --:--:-- GMT)
Demand forecasting with machine learning | Gott Data