> ## Documentation Index
> Fetch the complete documentation index at: https://docs.perform.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# EDD Prediction Model

> Delivery date prediction model built per brand from its order history, warehouse rules and carrier performance data, for dates at checkout.

**Available to all Checkout customers.**

## Summary

The EDD Prediction Model is Perform.AI’s delivery date prediction for checkout: every brand gets its own EDD model, built for it alone and trained on its own data, covering the journey from the warehouse to the shopper’s door. It blends your history with carrier performance data from more than 1,100 carriers, turns a transit time prediction into a predictive delivery date at a confidence level you choose, and adjusts to live network conditions.

## Who it’s for

E-commerce and logistics teams who need an estimated delivery date they are willing to show on a product page, rather than a carrier estimate that starts at collection or a static transit table padded for the worst day. The model is scoped first and never used alone: the [Checkout EDD Widget](https://docs.perform.ai/products/checkout/checkout-edd-widget.md) or the Checkout EDD API renders what it produces.

## Key benefits

* **Your own date, not your carrier’s estimate.** The model is trained on how your warehouses, carriers and trade lanes perform, and covers every carrier you use with one definition.
* **The warehouse is in the number.** Non-working days, processing times and cut-off windows, the stretch a carrier estimate never sees, are part of the prediction, so your delivery promise starts at the order.
* **Confident where your own data is thin.** Your signals are blended with network data from more than 1,100 carriers, down to postal-code level, so lanes you ship rarely still get a usable date.
* **The ambition of the date is a choice.** A buffer and a confidence threshold decide how near or how safe the date is, and you can see the trade in conversion and in delivery promise accuracy.
* **It moves when the network moves.** Weather, strikes, hub backlogs and peak season adjust the date without waiting for a retrain, and the model is retrained against what was delivered.

## How it works

### Scoping

Before the model is built, Perform.AI assesses what your delivery date does today across four measures:

| Measure | What it shows |
| - | - |
| EDD availability | The share of shoppers who see a date at all during an order journey. |
| EDD delay time | How long after ordering a date reaches them. |
| EDD accuracy | The share of shoppers whose date was right for their delivery. |
| EDD ambition | The average buffer between the predicted date and the actual delivery. |

These give you a measured starting point, and they are what later buffer and confidence decisions are judged against. The scope is then agreed lane by lane in an EDD questionnaire with your account team. Coverage is per scope; outside it, the widget shows a text range rather than a date, and the scope widens as data accumulates.

### What the model uses

| Category | What it covers |
| - | - |
| Your own history | Order confirmation timestamps for delivered shipments, plus either first delivery attempt timestamps or tracking numbers and carriers so the events can be retrieved. Roughly three months is the working ask, partly because that is as far back as many carriers retain events. Volume requirements vary by lane. Your past dates and their seasonal shifts are part of the pattern the model learns. |
| Warehouse details | Non-working days, processing times and cut-off windows between an order being placed and a parcel being handed over, plus current backlog, operating timings and fulfilment time. |
| Carrier details | Which carrier, the carrier’s own estimate, its cut-off times and how long a parcel sits in hub. |
| Spatial data | Origin and destination down to postal code and city, distance and geolocation. |
| Temporal data | The hour and weekday an order is placed and dispatched, and the public holidays and weekends in between. |
| Network data | Perform.AI’s harmonised events across more than 1,100 carriers, postal-code-level geography, a public holiday library and live network conditions. |

Because the order time, the cut-off and the holidays are all inputs, an order placed late on a Friday afternoon before a public holiday gets a different prediction from the same order on a Tuesday morning.

Where the data supports it, the model can be segmented by product type or SKU, because different products travel differently.

### Lanes, carriers and services

The model covers the lanes, carriers and shipping services agreed in scoping, lane by lane, rather than a standing list. Volume requirements vary by lane. A lane outside scope gets the fallback text range until it is added.

### From a distribution to a date

The journey is modelled as a distribution rather than a single estimate. You choose the confidence level at which that distribution becomes a date: a higher level produces a later, safer date; a lower one produces a nearer, riskier one. Buffers, including an emergency buffer, and confidence and consistency thresholds are set per scope. You decide what you want and Perform.AI configures it.

### Responding to change

The model adjusts the date to live network conditions, such as weather, strikes, hub backlogs and peak season, without a full retrain. It is also retrained periodically against actual first delivery attempts, so it does not decay into the static rule it replaced.

### Showing the date on product pages and at checkout

The model produces the date; the [Checkout EDD Widget](https://docs.perform.ai/products/checkout/checkout-edd-widget.md) or the Checkout EDD API shows it. The widget can be added to product, cart, checkout and order confirmation pages in your own design, and reads the shopper’s location from the page, from the widget’s location selector, from the browser or from a default you supply. On Shopify storefronts, the widget runs on product and cart pages through Custom Liquid.

### Saving the promised date to the order

Each prediction carries a checkout reference. When the order is confirmed, you send that reference with the new shipment, and the checkout date then appears with the shipment’s details and is measured against the actual delivery. See [Use via API and MCP](#use-via-api-and-mcp).

### Carrier estimates and your own dates

A carrier’s estimate is one input to the model, not the date you show. Once a parcel is moving, a shipment can carry dates from several sources: the carrier’s own estimated delivery date, a date you send when creating or updating the shipment, a Perform.AI prediction and a custom calculation. On the Premium Tracking Page, you can show or hide the date and choose which source takes priority when several exist, by contacting your Customer Success Manager. That in-transit date belongs to [Shipment EDD](https://docs.perform.ai/products/checkout/shipment-edd.md), which covers the sources and their priority.

### Measuring delivery promise accuracy

[Checkout Analytics](https://docs.perform.ai/products/checkout/checkout-analytics.md) reports how often the promised date held, the early, on-time and late split, and the average buffer: the delivery time estimate accuracy of the model on your lanes. [Checkout Widget A/B Testing](https://docs.perform.ai/products/checkout/checkout-widget-ab-testing.md) compares buffer variants on live traffic, so the confidence trade is measured in conversion.

### Related model: Shipment EDD

[Shipment EDD](https://docs.perform.ai/products/checkout/shipment-edd.md) is a separate model for parcels already moving, with its own inputs and its own buffer, tuned in the opposite direction. The two share a network and a method, not a configuration.

## How to set it up

There is no portal setting for the model. Perform.AI builds and configures it with you:

1. Contact your account team to request Checkout.
2. Provide the data the model learns from: order confirmation timestamps for delivered shipments, plus first delivery attempt timestamps or tracking numbers and carriers.
3. Complete the EDD questionnaire in the scoping workshop and agree which lanes are in scope.
4. Decide the buffer and confidence level you want. Perform.AI configures them per scope.
5. Show the date with the [Checkout EDD Widget](https://docs.perform.ai/products/checkout/checkout-edd-widget.md) or the Checkout EDD API.

Building and training the model is the longest step in onboarding; the widget goes up faster. The timeline is scoped in the workshop.

## Use via API and MCP

* Guide: [Predict checkout delivery dates](https://docs.perform.ai/guides/predict-checkout-edd.md) requests a prediction for a destination, origin, carrier and shipping service, and links the `checkout_id` to the shipment when you create it.
* API reference: [Predict checkout EDD](https://docs.perform.ai/api-reference/checkout/predict-checkout-edd.md).

## FAQ

### Is this a machine learning delivery estimate?

Yes. Each brand gets its own model, trained on its own order and delivery history blended with Perform.AI network data, and retrained against actual first delivery attempts.

### We don’t have three months of clean data. Can we still get a model?

Scope is agreed lane by lane against what exists. Lanes Perform.AI can cover get a date; lanes it cannot get the fallback range, and the scope widens as data accumulates.

### What data do you need from us?

Timestamps and either delivery events or tracking numbers and carriers: enough to learn transit, not a customer database. Warehouse rules such as cut-off times and processing times add the part of the journey a carrier never sees.

### How is this different from our carrier’s estimate?

A carrier’s estimate starts at collection and covers that carrier’s network only. This starts at the order, covers the warehouse and spans every carrier you use. The carrier’s estimate is one of the model’s inputs.

### Which carriers and lanes do you support?

The model draws on network data from more than 1,100 carriers, and covers the lanes, carriers and services agreed in scoping for your account. On a lane outside that scope, the widget shows a configured text range rather than a date: no error, no blank space.

### Can we set the buffer ourselves?

You decide what you want and Perform.AI configures it. Decide with accuracy and conversion both in view: a larger buffer or higher threshold pushes the date later and keeps more promises, a smaller one does the reverse.

## Troubleshooting

| Symptom | Cause | Fix |
| - | - | - |
| The widget shows the fallback range on a major lane | The lane is outside the model scope, or inputs are not reaching the widget | Confirm the lanes in scope with your account team and check the location inputs on the page. |
| The date looks more conservative than what you showed before | The buffer or confidence threshold is set to keep more promises | Review the trade with your account team; a tighter setting wins more orders and misses more promises. |
| The date differs between your product page and checkout | The two pages use variants for different shipping methods | See [Checkout EDD Widget](https://docs.perform.ai/products/checkout/checkout-edd-widget.md). |
| The checkout date does not appear on the shipment | The `checkout_id` was not sent when the shipment was created | Send it at shipment creation; see [Predict checkout delivery dates](https://docs.perform.ai/guides/predict-checkout-edd.md). |

## Related

* [Checkout EDD Widget](https://docs.perform.ai/products/checkout/checkout-edd-widget.md)
* [Shipment EDD](https://docs.perform.ai/products/checkout/shipment-edd.md)
* [Checkout Analytics](https://docs.perform.ai/products/checkout/checkout-analytics.md)
* [Checkout Widget A/B Testing](https://docs.perform.ai/products/checkout/checkout-widget-ab-testing.md)
* [Checkout overview](https://docs.perform.ai/products/checkout/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.