Intelligent System
Intelligent System
Bayes’
Theorem
Introduction to Probability
Probability measures how likely an event is to occur.
Key terms:
Experiment: An action with uncertain outcome.
Sample Space (S): All possible outcomes.
Event (E): A subset of outcomes from the sample space.
Example: Probability of rolling a 3 on a die = 1/6
What is Bayes’ Theorem?
Bayes' Theorem helps us update our beliefs based on new evidence.
Formula:
Understanding the Terms
Prior Probability (P(A)): Belief about A before evidence.
Likelihood (P(B|A)): Probability of evidence B assuming A is true.
Marginal Probability (P(B)): Total probability of evidence B.
Posterior Probability (P(A|B)): Updated belief about A after seeing B.
Formula Breakdown
Step-by-step:
1.Start with prior belief: P(A)P(A)P(A)
2.Multiply by likelihood: P(B∣A)P(B|A)P(B∣A)
3.Divide by total probability of B: P(B)P(B)P(B)
Visual Aid Idea: Use a flowchart or Venn diagram to
show relationships.
Why is Bayes’ Theorem Important?
Helps make decisions under uncertainty
Useful in:
Diagnosing diseases
Filtering spam
Machine learning algorithms
Legal judgments
Advanced Example / Case Study
Medical Testing Example:
Disease prevalence = 1%
Test sensitivity = 99%, false positive rate = 5%
Someone tests positive. What’s the actual chance they have the disease?
Use formula:
Computationally Intensive:
In complex models or large datasets, calculating probabilities (especially marginal probability)
can be difficult.