Skip to content
Predict.ai

Accuracy & evaluation

Quantile forecast

A quantile forecast predicts a percentile of the future distribution — p50 as the middle, p90 as a high plan — instead of (or in addition to) a single expected value.

Pinball loss is how you train these without pretending errors are Gaussian. You can also take samples from a generative model and read off percentiles.

A mean forecast optimized for MAE is not p50 unless the error is symmetric. If stockouts hurt more than leftovers, ask for a high quantile on purpose. That is a different product than 'the line in the middle.'

Serving has to return the percentiles. A PNG of a fan chart is not a quantile forecast. If the API only gives you a center, you are back to pretending.

p10 · p50 · p90

Prediction interval fan chartp90p50p10
The band is the plan. It should widen as you look further out. A skinny interval at week 12 is usually a model that has not been allowed to be unsure.

Read next

Related terms

Try it on your data.

Connect an outcome and its history. Predict.ai finds the drivers, races the models, and keeps the forecast live — in the workspace, over the API, and through agents.