
























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

























University of Maryland, College Park
Concepts developed independently in different areas The way they are used may be fundamentally different
Essentially “probability theory + graphs”
Discrete: Σp(x) = 1 Typically represented using tables or lists (for large, sparse domains) Continuous:
−∞ p(x) =^1 Typically represented using a density function E.g. Gaussian (very common.. easy to operate on), Poisson etc.
Discrete: Σp(x) = 1 Typically represented using tables or lists (for large, sparse domains) Continuous:
−∞ p(x) =^1 Typically represented using a density function E.g. Gaussian (very common.. easy to operate on), Poisson etc.
Discrete: Σp(x|Y = y) = 1 Think of it as |Y | different probability distributions
Given p(A, B) Asked to compute p(A = a|B = b) Since we are “given” that B = b (in other words, we know that B = b)
p(A = a|B = b) = p(A^ =^ a,^ B^ =^ b) p(B = b) Doing this for all values of A and B, we can get p(A|B)
Say we are given a distribution p(X 1 , X 2 , X 3 ) Asked to compute probability p(X 1 = x 1 , X 2 = x 2 ) p(X 1 = x 1 , X 2 = x 2 ) = Σx 3 p(X 1 = x 1 , X 2 = x 2 , X 3 = x 3 ) Doing this for all values of X 1 and X 2 , we get p(X 1 , X 2 )
Mathematically: H(X ) = Σ − p(x) log p(x) (base 2) Highest when X is uniformly distributed (log |X |) Low entropy → we have a lot of information about the variable High entropy → we have little information about the variable
Mathematically: H(X ) = Σ − p(x) log p(x) (base 2) Highest when X is uniformly distributed (log |X |) Low entropy → we have a lot of information about the variable High entropy → we have little information about the variable
Minimum expected number of bits needed to communicate the value of X to someone else Huffman coding
p(A, B, C) = p(A|B, C) × p(B|C) × p(C)
Using chain rule: p(A, B) = p(A|B) × p(B) = p(B|A) × p(A), so ...
p(A, B, C) = p(A|B, C) × p(B|C) × p(C)
Using chain rule: p(A, B) = p(A|B) × p(B) = p(B|A) × p(A), so ...
p(A|B) = p(B|A p)(^ B×)^ p(A)
If A and B are independent, H(A, B) = H(A) + H(B) ie. H(B|A) = H(B) if B does not depend on A
If A and B are independent, H(A, B) = H(A) + H(B) ie. H(B|A) = H(B) if B does not depend on A H(B|A) ≤ H(B) (with equality if they are independent) Intuitively, the uncertainty about B cannot increase given additional knowledge For a specific value of A, the uncertainty might increase ie., for some a ∈ domain(A), H(B|A = a) may be > H(B) But over all values of A, the uncertainty can only decrease or remain constant
E.g. the attributes of a relation; attributes associated with entities (people)
To represent the knowledge in a succint form Understanding how things work
E.g. the attributes of a relation; attributes associated with entities (people)
To represent the knowledge in a succint form Understanding how things work Make predictions/fill in missing values Based on knowledge gained from a set of entities, predict for another entity "learning"