Skip to content
Tactiverge

Mathematics · also Perception and intelligence, Research methodsLevel 3 · Innovator

Conditional probability and Bayes' rule

A conditional probability is the chance of one event given that another has happened, written P(A | B). It is usually different from P(B | A): the chance that a detector flags a faulty part is not the chance that a flagged part is faulty. Bayes' rule connects the two, P(A | B) = P(B | A)·P(A) ÷ P(B), and the clearest way to use it is to imagine a population, say 10,000 parts, and count how many fall into each branch. When the condition is rare, the base rate matters enormously: even an accurate detector can produce more false alarms than real detections. Sensor fusion and many perception systems are built on this kind of updating.

Why it mattersA factory vision system that flags 5% of good parts will mostly flag good parts if only 1% of parts are faulty, and knowing that changes how its alarms are handled.

Learn it

  1. 1Conditional probability, Bayes and base ratesTactiverge School · Level 3