This application (QueryModelEval.cpp) loads an expanded query model (e.g., one computed by GenerateQueryModel), and evaluates it with the KL-divergence retrieval model.
Parameters:
index: The complete name of the index table-of-content file for the database index.
smoothSupportFile: The name of the smoothing support file (e.g., one generated by GenerateSmoothSupport).
queryModel: the file of the query model to be evaluted
resultFile: the result file
TRECResultFormat: whether the result format should be of the TREC format (i.e., six-column) or just a simple three-column format <queryID, docID, score>. Integer value, zero for non-TREC format, and non-zero for TREC format. Default: 1 (i.e., TREC format)
-
resultCount: the number of documents to return as result for each query
The following are document model smoothing parameters:
-
smoothMethod: One of the three: Jelinek-Mercer (0), Dirichlet prior (1), and Absolute discounting (2)
-
smoothStrategy: Either interpolate (0) or backoff (1)
-
JelinekMercerLambda: The collection model weight in the JM interpolation method. Default: 0.5
-
DirichletPrior: The prior parameter in the Dirichlet prior smoothing method. Default: 1000
-
discountDelta: The delta (discounting constant) in the absolute discounting method. Default 0.7.
1.2.4 written by Dimitri van Heesch,
© 1997-2000