Content deleted Content added
Added an explanation why products arise in calculating probabilities. This should help readers understand the motivation for mapping products in a linear space to sums in a logarithmic space. Tags: Mobile edit Mobile web edit |
Bring simple definition forward. |
||
Line 1:
{{unreferenced|date=May 2011}}
In [[computer science]], a [[log probability]] is simply the logarithm of a probability. The use of '''log probabilities''' means representing [[probability|probabilities]] in [[logarithm]]ic space, instead of the standard <math>[0, 1]</math> [[interval (mathematics)|interval]]. This has practical advantages, because of the way in which computers [[Floating point|approximate real numbers]], and because computers can historically perform addition more efficiently than multiplication. Multiplication arises from calculating the probability that multiple independent events occur: the probability that all independent events of interest occur is the product of all these events' probabilities.
: <math>x' = \log(x) \in \mathbb{R}</math>
|