UAI 2016 Inference Evaluation

Query File Format (only applies to Marginal MAP task)

Query variables for marginal MAP inference are specified in a separate file. This file has the same name as the original network file but with an added .query suffix. For instance with respect to the UAI model format, problem.uai will have evidence in problem.uai.query.

The query file consists of a single line. The line will begin with the number of query variables, followed by the indexes of the query variables. The indexes correspond to the ones implied by the original problem file.

If, for our example Markov network given here, we want to use Y as the query variable the file example.uai.query would contain the following:

1 1