Re: how to calculate relevancy by the help of precision and recall

2014-02-04 Thread Ivan Brusic
Interesting topic. Not elasticsearch specific, but nevertheless interesting. One method to calculate relevancy given the precision and recall of a query is by using the F1 score: http://en.wikipedia.org/wiki/F1_score F1 would be equal to 2 * (P * R) / (P + R), where P is the precision and R is

Re: how to calculate relevancy by the help of precision and recall

2014-02-04 Thread Navneet Mathpal
hey thanks ivan :) On Wednesday, 5 February 2014 12:44:46 UTC+5:30, Ivan Brusic wrote: Interesting topic. Not elasticsearch specific, but nevertheless interesting. One method to calculate relevancy given the precision and recall of a query is by using the F1 score:

Re: how to calculate relevancy by the help of precision and recall

2014-02-04 Thread Navneet Mathpal
Ivan but On Wednesday, 5 February 2014 11:36:50 UTC+5:30, Navneet Mathpal wrote: Hi, I want to know how do we calculate relevancy with the help of precision and reacall, for example:- A = The number of relevant records retrieved, B = The number of relevantrecords not retrieved, and C