Probability in Machine Learning Flashcards
Random Variable
A variable associated with a population. For example, students could have the random variable “grade”.
Marginal Probability
P(A)
Joint Probability
P(A and B)
Conditional Probability
P(A | B)
Joint Probability Distribution
A table which demonstrates the probability of the combinations of two events. For example, we could have grade = {A, B, C} and intelligence = {Low, High}. It shows every combination of these two variables.
Chain Rule
P(A_4, A_3, A_2, A_1) = P(A_4 | A_3, A_2, A_1) . P(A_3 | A_2, A_1) . P(A_2 | A_1) . P(A_1)
Independent Random Variables/ Conditional Independence
If P(A|B) = P(A) then we know these events are independent.
Same with P(A n B) = P(A)P(B).
Probability Queries
Given evidence (values of a subset of random variables), compute distribution of another subset of random variables.
MAP Queries
Maximum a posteriori probability. Also known as MPE (Most probable Explanation), it asks what is the most likely setting of a subset of random variables?
Probability Query Parts
Evidence -> the subset of variables
Query Variable -> another subset of random variables
Marginal Probability Estimation
Using the product rule:
P(Y = y_i | E = e) = P(Y = y_i, E = e) / P(E = e).
Max
The highest point of a function
Argmax
The x values of a function which give the highest y points.
MAP Queries Questions
MAP(A,B) = argmax_a,b P(A, B) = argmax_a,b P(B|A)P(A)…