Week 3 Flashcards
Key assumption of Naive bayes
Each effect only depends on cause
<=> effects don’t affect each other
Why is conditional independence assumed for naive bayes
Preserve linearity in number of effects for P table
If we don’t do this, P table grows exponentially as new effects are introduced
A bayesian network cant
Have any cycles
Graph of Bayesian Network is
Directed Acyclic Graph (DAG)
P of a selection of states of given variables
On a Bayesian network
Local semantics of a node in a Bayesian network
A node X is independent of its non-descendants given its parents
Markov Blanket
A node X is conditionally independent of all others given its Markov Blanket (parents, children, children’s parents)
How to compress Markov blankets further
Boolean functions (eg NorthAmerican <=> Canadian v US v Mexican) (prior knowledge)
Numerical relationships eg(image)
Simple queries
Conjunctive Queries
Sensitivity Analysis
Which P values are most critical
4 ways to compute posterior marginal
Enumeration
Rejection sampling
Likelihood weighting
Gibbs Sampling
Inference by enumeration: pro and con
Pro: deterministic
Con: inefficient
Variable elimination for enumeration
Evaluate enumeration tree bottom up
Time and space cost of variable elimination