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 = The number of irrelevant records retrieved.
In this example A = 45, B = 35(80-45)and C = 15(60-45)
Recall =(45 / (45 + 35)) * 100% => 45/80 * 100% =56%
Precision =(45 / (45 + 15)) * 100% => 45/60 * 100% =75%
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:
F1 would be equal to 2 * (P * R) / (P + R), where P is the precision and R
is the recall.
I am glad someone is using elasticsearch as a search engine. Lately it
feels like it is mainly an analytical tool.
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 = The number of irrelevant records retrieved.
In this example A = 45, B = 35(80-45)and C = 15(60-45)
Recall =(45 / (45 + 35)) * 100% => 45/80 * 100% =56%
Precision =(45 / (45 + 15)) * 100% => 45/60 * 100% =75%
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: F-score - Wikipedia
F1 would be equal to 2 * (P * R) / (P + R), where P is the precision and R
is the recall.
I am glad someone is using elasticsearch as a search engine. Lately it
feels like it is mainly an analytical tool.
Cheers,
Ivan
On Tue, Feb 4, 2014 at 10:06 PM, Navneet Mathpal <navneetm...@gmail.com<javascript:>
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 = The number of irrelevant records retrieved.
In this example A = 45, B = 35(80-45)and C = 15(60-45)
Recall =(45 / (45 + 35)) * 100% => 45/80 * 100% =56%
Precision =(45 / (45 + 15)) * 100% => 45/60 * 100% =75%
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 = The number of irrelevant records retrieved.
In this example A = 45, B = 35(80-45)and C = 15(60-45)
Recall =(45 / (45 + 35)) * 100% => 45/80 * 100% =56%
Precision =(45 / (45 + 15)) * 100% => 45/60 * 100% =75%
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.