Menu

Bayes' theorem in machine learning
📰
0

Bayes' theorem in machine learning

DEV Community·Silver_dev·about 1 month ago
#4KxJ81Qp
Reading 0:00
15s threshold

Bayes' Theorem describes how to update the probability of a hypothesis when new data is obtained. It reverses conditional probability: instead of asking “what is the probability of the data given the hypothesis?”, we ask “what is the probability of the hypothesis given the observed data?” P(A∣B) = P(B∣A)*P(A) / P(B) P(A∣B) = Likelihood × Prior / Marginal likelihood Enter fullscreen mode Exit fullscreen mode P(A∣B) — posterior probability. The probability of hypothesis A after observing data B. This is what we want to find. P(B∣A) — likelihood. The probability of observing data B if hypothesis A is true. P(A) — prior probability. The initial probability of the hypothesis before seeing the data. P(B) — marginal likelihood or evidence. A normalizing factor that ensures the sum of all posterior probabilities equals 1.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More