AI engineering glossary · Evaluation metrics

What is pinball loss?

Pinball loss (also called quantile loss): The loss used to train and evaluate quantile forecasts. For quantile level tau it charges tau * (y - q) when the actual value is above the prediction q and (1 - tau) * (q - y) when it is below. It is asymmetric, so low or high quantiles are judged appropriately.

Level: advancedTopic: Evaluation metrics

Pinball loss: an example

For the 0.9 quantile, an actual of 100 and prediction of 90 costs 0.9 * 10 = 9, while a prediction of 110 costs only 0.1 * 10 = 1.

Related terms

More Evaluation metrics terms

Where you learn it

Pinball loss is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.