public class Js_KLs extends WeightingModel
Js_KLs has a high performance but it can be used with verbose queries. In particular, it has statistically or moderately significant better MAP performance than most of the supervised models with long queries on the terabyte collection (GOV2) with the exception of PL2. MAP for long topics, and comparative p values (two-tailed paired t-test) compared to supervised models (with optimal MAP parameter values) are as follows:
Queries | MAP of JS_KLs | LGD | Dirichlet_LM | PL2 | BM25 | In_expB2 |
long | 0.3178 | (>) p=1.7E-17 | (>) p=0.0544 | (<) p=0.3155 | (>) p=0.7866 | (>) p=5151 |
References
averageDocumentLength, c, cs, documentFrequency, es, i, keyFrequency, numberOfDocuments, numberOfPointers, numberOfTokens, numberOfUniqueTerms, rq, termFrequency
Constructor and Description |
---|
Js_KLs()
A default constructor to make this model.
|
Modifier and Type | Method and Description |
---|---|
String |
getInfo()
Returns the name of the model, in this case "Js_KLs"
|
double |
score(double tf,
double docLength)
Uses Js_KLs to compute a weight for a term in a document.
|
clone, getOverflowed, getParameter, prepare, score, setCollectionStatistics, setEntryStatistics, setKeyFrequency, setParameter, setRequest
public final String getInfo()
getInfo
in interface Model
getInfo
in class WeightingModel
public final double score(double tf, double docLength)
score
in class WeightingModel
tf
- The term frequency of the term in the documentdocLength
- the document's lengthTerrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow