Grant Ingersoll wrote:
You might also have a look at the quality package under
contrib/benchmark, as it works w/ trec files, etc. I am not sure what
the similarity parameter is you are referring to, but if I recall (and
it has been a while), in the rel. files the last number is either 1 or
0, depending on whether your system thinks the document is relevant or
not. Thus, you could do something like score > 0 ? 1 : 0 for
outputting that value, or some variation of that.
If that isn't right, I would dig into some of the TREC papers,
especially the overview paper published each conference, my guess is
one of them will explain it in more detail, or perhaps any docs for
the trec_eval program will.
-Grant
On Jan 2, 2008, at 3:07 PM, Liaqat Ali wrote:
Hello,
I am using treceval for precision, recall calculation. Treceval takes
Relevance judgments and Result file as an arguments to calculate the
precision, recall. There is a similarity parameter in the result file.
The score which is calculated by Lucene is equal to that similarity
parameter. Kindly guide me.
Regards,
Liaqat
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------
Grant Ingersoll
http://lucene.grantingersoll.com
http://www.lucenebootcamp.com
Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello Grant,
Thanks for you suggestion, and the similarity parameter is part of
Result file.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]