DLHDLH.io Documentation

Projection Models

Configure sales projection algorithms and forecast metrics in UnitOps AI

Overview

Projection models determine how UnitOps AI calculates sales forecasts from historical data. Each location can have a default projection model, and users can switch between models when generating or recalculating a forecast.

Available Projection Models

Trailing Average

Calculates the projection based on the average of recent weeks' actual sales for the same day of week.

ParameterDescriptionDefault
Window SizeNumber of trailing weeks to average6 weeks
MetricWhich value to projectSales Dollars

Calculation:

Projected Sales (Monday) = Average of last N Mondays' actual sales

Best for: Locations with consistent weekly patterns and no strong seasonal trends.

Weighted Average

Similar to trailing average, but applies higher weight to more recent weeks.

ParameterDescriptionDefault
Window SizeNumber of trailing weeks6 weeks
Decay FactorHow quickly older weeks lose influence0.85
MetricWhich value to projectSales Dollars

Calculation:

Weight for week N = decay_factor ^ (weeks_ago - 1)
Projected Sales = Weighted sum / Sum of weights

Best for: Locations experiencing growth or decline trends where recent data should carry more influence.

Same Week Last Year (SWLY)

Uses the same calendar week from the previous year as the projection basis.

ParameterDescriptionDefault
Year OffsetHow many years back to reference1 year
Growth FactorYear-over-year adjustment multiplier1.0 (no adjustment)

Calculation:

Projected Sales (Mon, Week 18, 2026) = Actual Sales (Mon, Week 18, 2025) × Growth Factor

Best for: Locations with strong seasonal patterns (tourism, college towns, holiday-heavy areas).

Blended Model

Combines multiple projection methods with configurable weights.

ParameterDescriptionDefault
Trailing WeightWeight for trailing average component0.5
SWLY WeightWeight for same-week-last-year component0.5

Calculation:

Projected Sales = (Trailing Avg × trailing_weight) + (SWLY × swly_weight)

Best for: Locations that benefit from both recent trends and seasonal patterns.

Forecast Metrics

The projection model can target different metrics:

MetricDescription
Sales DollarsTotal gross sales revenue
Guest CountNumber of transactions/covers
Average CheckRevenue per transaction

When projecting by Guest Count or Average Check, the system derives total sales by multiplying the two projected components.

Configuration

Projection models are configured per location in Forecasting > Settings > Forecast Configuration:

  1. Navigate to Forecasting in the sidebar
  2. Open Settings (gear icon)
  3. Select the Forecast Configuration tab
  4. Choose the location to configure
  5. Set the Default Projection Model and its parameters
  6. Click Save

Recalculating a Forecast

Once a draft forecast exists, you can recalculate it with a different projection model:

  1. Open the weekly forecast
  2. Click Recalculate in the toolbar
  3. Select the desired projection model
  4. Review the updated projections
  5. Optionally adjust individual days

Recalculation replaces all system-generated values but preserves any manual overrides (with a confirmation prompt).