Skip to main content

Bayes’ Rule

  • Living reference work entry
  • Latest version View entry history
  • First Online:
Encyclopedia of Machine Learning and Data Science
  • 41 Accesses

Synonyms

Bayes’ Theorem

Definition

Bayes’ rule provides a decomposition of a conditional probability that is frequently used in a family of learning techniques collectively called Bayesian learning. Bayes’ rule is the equality

$$ P(A|B)=\frac{P(A)P(B|A)}{P(B)} $$
(1)

P(A) is called the prior probability and P(A | B) is called the posterior probability.

Discussion

Bayes’ rule is used for two primary purposes in machine learning. The first is Bayesian update. In this context, B represents some new information that has become available since an estimate P(A) was formed of some hypothesis A. The application of Bayes’ rule enables a new estimate of the probability of A (the posterior probability) to be calculated from estimates of the prior probability, P(B | A) and P(B).

The second common application of Bayes’ rule is for estimating posterior probabilities in probabilistic learning, where it is the core of Bayesian networks, naïve Bayes, and semi-naïve Bayesian techniques.

While Bayes’...

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Geoffrey I. Webb .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 Springer Science+Business Media, LLC, part of Springer Nature

About this entry

Check for updates. Verify currency and authenticity via CrossMark

Cite this entry

Webb, G.I. (2023). Bayes’ Rule. In: Phung, D., Webb, G.I., Sammut, C. (eds) Encyclopedia of Machine Learning and Data Science. Springer, New York, NY. https://doi.org/10.1007/978-1-4899-7502-7_21-2

Download citation

  • DOI: https://doi.org/10.1007/978-1-4899-7502-7_21-2

  • Received:

  • Accepted:

  • Published:

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-1-4899-7502-7

  • Online ISBN: 978-1-4899-7502-7

  • eBook Packages: Springer Reference Computer SciencesReference Module Computer Science and Engineering

Publish with us

Policies and ethics

Chapter history

  1. Latest

    Bayes’ Rule
    Published:
    22 April 2023

    DOI: https://doi.org/10.1007/978-1-4899-7502-7_21-2

  2. Original

    Bayes’ Rule
    Published:
    12 August 2016

    DOI: https://doi.org/10.1007/978-1-4899-7502-7_21-1