UAI 2014 Inference Competition

Evidence Format

Evidence is specified in a separate file. This file has the same name as the original network file but with an added .evid suffix. For instance, problem.uai will have evidence in problem.uai.evid.

The evidence file consists of a single line. The line will begin with the number of observed variables in the sample, followed by pairs of variable and its observed value. The indexes correspond to the ones implied by the original problem file.

If, for our example Markov network given here, Y has been observed as having its first value and Z with its second value, the file example.uai.evid would contain the following:

2 1 0 2 1