Bayes' Theorem (also known as Bayes' Rule or Bayes'
Law) is a law of probability that describes the proper way to incorporate new evidence into prior probabilities to form an updated probability estimate. It is commonly regarded as the foundation of consistent rational reasoning under uncertainty. Bayes' Theorem is named after Reverend Thomas Bayes, who proved the theorem in 1763.
to Bayes' Rule
Bayes' theorem by Oscar Bonilla