← All parts of this equation

Equation 1 · Part 3 · Building a Deployment Safety System That Actually Holds

fraction

Precision=TPR⋅πTPR⋅π+FPR⋅(1−π),\text{Precision} = \frac{\mathrm{TPR} \cdot \pi}{\mathrm{TPR} \cdot \pi + \mathrm{FPR} \cdot (1 - \pi)},
fraction

What this part means

Divide the expression above the line by the one below it.

Its job in the formula

The expression above the fraction bar is divided by the complete expression below it. The denominator must not be zero.

The passage around this formula

The cost is measurable and it is not small, even for a genuinely well-built classifier, and the reason is arithmetic rather than a flaw in any particular model. Suppose a classifier catches 98% of genuinely harmful requests and wrongly flags only 1% of benign ones — numbers that would read, on a slide, as a strong result. If the true base rate of harmful requests in real traffic is low, say one in two thousand, which is the ordinary case for a general-purpose product, precision — the share of flagged requests that are actually harmful — is Precision=TPR⋅πTPR⋅π+FPR⋅(1−π)\text{Precision} = \frac{\mathrm{TPR} \cdot \pi}{\mathrm{TPR} \cdot \pi + \mathrm{FPR} \cdot (1 - \pi)}. where TPR\mathrm{TPR} and FPR\mathrm{FPR} are the true- and false-positive rates and π\pi is the base rate. Plugging in TPR\mathrm{TPR} = 0.98…

Read this part in the article →

Learn the underlying idea

A fraction a/b means a divided by b. The top number is the numerator; the bottom number is the denominator, and it cannot be zero.

Open the illustrated fractions: division written vertically guide →

Sources cited in the article section

These citations provide research context; check each source for the exact claim it supports.