Cs188AI Wiki
Advertisement

General Info[]

What[]

Inference by enumeration is the general framework for solving inference queries when a joint distribution is given

Structure[]

General inference queries will have the following attributes

  • . Observed evidence variables
  • . Query variables, or variables we wish to know the probability of
  • . Hidden variables, variables that are along for the ride but that we don't care about

The general query structure is

How[]

  1. a new table with elements from the joint distribution table that matches the evidence
  2. Squeeze the table out by the hidden variables
  3. Normalize the result

Disadvantages[]

  • is . At worst, we could end up examining every entry in the joint distribution
  • Space complexity is . We have to load the entire joint distribution into memory before working on it
Advertisement