GO-V.ORG
As seen in

Negative log predictive density

In statistics, the negative log predictive density (NLPD) is a measure of error between a model's predictions and associated true values.[src] A smaller value is better.[src] Importantly the NLPD assesses the quality of the model's uncertainty quantification.[src] It is used for both regression and classification.[src] To compute: (1) find the probabilities given by the model to the true labels.[src] (2) find the negative log of this product.[src] (we actually find the negative of the sum of the logs, for numerical reasons).[src]

In statistics, the negative log predictive density (NLPD) is a measure of error between a model's predictions and associated true values.[src] A smaller value is better.[src] Importantly the NLPD assesses the quality of the model's uncertainty quantification.[src] It is used for both regression and classification.[src] To compute: (1) find the probabilities given by the model to the true labels.[src] (2) find the negative log of this product.[src] (we actually find the negative of the sum of the logs, for numerical reasons).[src] ==Definition== \text{NLPD} = - \sum_{i=1}^N \log p(y_i = t_i | \mathbf{x_i}) where p(y|\mathbf{x}) is the model, \mathbf{x_i} are the inputs (independent variables) and t_i are the observations outputs (dependent variable).[src] Often the mean rather than the sum is used (by dividing by N), \text{NLPD} = - \frac{1}{N} \sum_{i=1}^N \log p(y_i = t_i | \mathbf{x_i}) ==Example== ===Calculating the NLPD for a simple classification example=== We have a method that classifies images as dogs or cats.[src] Importantly it assigns probabilities to the two classes.[src] We show it a picture of three dogs and three cats.[src] It predicts that the probability of the first three being dogs as 0.9 and 0.4, 0.7 and of the last three being cats as 0.8 and 0.4, 0.3.[src] The NLPD is: -(\log 0.9 + \log 0.4 + \log 0.7 + \log 0.8 + \log 0.4 + \log 0.3) = 3.72 .[src] ===Comparing to a classifier with better accuracy but overconfident=== We compare this to another classifier which predicts the first three as being dogs as 0.95, 0.98, 0.02, and the last three being cats as 0.99, 0.96,0.96.[src] The NLPD for this classifier is 4.08.[src] The first classifier only guessed half correctly, so did worse on a traditional measure of accuracy (compared to 5/6 for the second classifier).[src] However it performs better on the metric of NLPD: The second classifier is effectively 'confidently wrong' which is penalised heavily by this metric.[src] ===Compared to a very under-confident classifier=== A third classifier then just predicts 0.5 for all classes will have an NLPD in this case of 4.15: worse than either of the others.[src] ==Usage== It is used extensively in probabilistic modelling research.[src] Examples include: - Candela, Joaquin Quinonero, et al.[src] "Propagation of uncertainty in bayesian kernel models-application to multiple-step ahead forecasting." 2003 IEEE International Conference on Acoustics, Speech, and Signal Processing, 2003.[src] Proceedings.(ICASSP'03)..[src] Vol.[src] 2.[src] IEEE, 2003.[src] - Kersting, Kristian, et al.[src] "Most likely heteroscedastic Gaussian process regression." Proceedings of the 24th international conference on Machine learning.[src] 2007.[src] - See also https://onlinelibrary.wiley.com/doi/pdfdirect/10.1111/coin.12411 for a background of other approaches (confusingly the definition in that reference says that the NLPD is what most others refer to as the *average* NLPD).[src] I.e.[src] \frac{1}{N}\text{NLPD} .[src] - Heinonen, Markus, et al.[src] "Non-stationary gaussian process regression with hamiltonian monte carlo." Artificial Intelligence and Statistics.[src] PMLR, 2016.[src]

41 sentences · 41 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Negative log predictive density." encyclopegia.org, 2026, https://encyclopegia.org/wiki/negative-log-predictive-density. Accessed 06 December 2026.

Chicago

"Negative log predictive density." encyclopegia.org. Accessed December 6, 2026. https://encyclopegia.org/wiki/negative-log-predictive-density.

APA

encyclopegia.org. (2026). Negative log predictive density. Retrieved December 6, 2026, from https://encyclopegia.org/wiki/negative-log-predictive-density

Accessed December 6, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1349017059 · 0.5 · snapshot enwiki-001349017059

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.