Chapter 2- Probabilistic Models Flashcards
what is a random variable?
a numeric quantity whose values map to the possible outcomes of an experiment
what is a sample space, or alphabet?
consists of all possible events
what is an event?
any subset of values that X can take
what is the first rule of probability theory?
probabilities add up to 1
what is the difference between estimated and true probabilities?
an estimate comes from a sample- it is a sample estimate
what is another name for the true probability?
a population parameters
what is joint probability?
AND
from conditional probabilities, p(x,y) = ?
p(x|y)p(y) and vice versa, p(y|x)p(x)
what is the rule for independent events?
p(x,y) = p(x)p(y)
how is bayes theorem derived?
p(x,y) = p(x|y)p(y)
and vice versa p(x,y) = p(y|x)p(x)
equate these
what is another word for joint probability?
marginalisation
what is the formula for joint probability, p(X=x)?
sum for each y: p(x|y)p(y)
what is the conditional independence assumption? (in words)
the features are conditionally independent of each other, given the class value
what is the conditional independence assumption p(x1,x2,x3|y) = ?
p(x1|y)p(x2|y)p(x3|y)
what is the conditional independence assumption p(X|y) = ?
multiply for each x: p(x|y)
what is the naive bayes model?
we solve problems by making the conditional independence assumption
a bayesian network is an example of?
a directed acyclic graph
when might over/underfitting occur in a bayesian network?
if we have more links, the more complicated the probability distribution and hence more data is needed
what is one of the great advantages of bayesian networks?
you can very naturally encode human knowledge about a given problem
what is the chain rule for probability: P(A n B) = ?, and P(A1 n A2 n A3 n A4) = ?
P(A n B) = p(B|A)P(A)
or for more
P(A1 n A2 n A3 n A4) = p(A4 | A1 n A2 n A3)
= P(A4 | A3 n A2 n A1) p(A3 | A2 n A1)p(A2 | A1) p(A1)
what does the chain rule tell us how to compute? Events A and B
The chain rules tells us how to compute the probability of event A happening AND then event B occurring afterwards.
what is a random experiment?
random experiment is any experiment in which the outcome is uncertain (not known or determined in advance).
what is P(A or B) if
a) they are disjoint
b) they are joint
a) P(A) + P(B)
b) P(A) + P(B) - P(A and B)
what is a probability mass function?
discrete random variables take on a finite number of values.
Each value is associated with a probability of it occurring. t
The collection of these probabilities is the probability mass function