Search for a tool
Precision and Recall

Tool to compute statistical measures of Precision and Recall. Precision and recall are two statistical measures which can evaluate sets of items, also called predictive value, specificity and sensitivity.

Results

Precision and Recall -

Tag(s) : Data processing, Mathematics

Share
Share
dCode and you

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our community Discord for help requests!


Thanks to your feedback and relevant comments, dCode has developped the best Precision and Recall tool, so feel free to write! Thank you !

Precision and Recall

Precision P and Recall R Calculator

From data sets to compare

Items has to be distinct, duplicates will be removed








From data values




Tool to compute statistical measures of Precision and Recall. Precision and recall are two statistical measures which can evaluate sets of items, also called predictive value, specificity and sensitivity.

Answers to Questions

How to calculate Precision?

For a search, the precision is the ratio of the number of pertinent items found over the total number of items found.

$$ \text{Precision}=\frac{|\{\text{Relevant items}\}\cap\{\text{Retrieved items}\}|}{|\{\text{Retrieved items}\}|} $$

Example: Consider the expected set: A,B,C,D,E (5 items), and the retrieved/found set : B,C,D,F (4 items). The set of expected items retrieved is B,C,D (3 common items). The precision is $$ P = \frac{3}{4} = 75\% $$

How to calculate Recall?

The recall is the ratio of the number of pertinent items found over the total number of relevant items.

$$ \text{Recall}=\frac{|\{\text{Relevant items}\}\cap\{\text{Retrieved items}\}|}{|\{\text{Relevant items}\}|} $$

Example: Consider the expected set: A,B,C,D,E (5 items), and the retrieved/found set : B,C,D,F (4 items). The set of expected items retrieved is B,C,D (3 common items). The recall is $$ R = \frac{3}{5} = 60\% $$

How to calculate F-measure (F1 score)?

In statistics, F-measure (or F1 score) is the harmonic mean of precision $ P $ and recall $ R $

$$ F = \frac{2 (P \times R)}{(P + R)} $$

Which Venn diagram represents precision and recall?

The following diagram includes precision, recall, true positive, false positive, true negative and false negative (source wikipedia)<b>precision-recall</b>

Source code

dCode retains ownership of the online 'Precision and Recall' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (PHP, Java, C#, Python, Javascript, Matlab, etc.) no data, script or API access will be for free, same for Precision and Recall download for offline use on PC, tablet, iPhone or Android !

Need Help ?

Please, check our community Discord for help requests!

Questions / Comments

Thanks to your feedback and relevant comments, dCode has developped the best Precision and Recall tool, so feel free to write! Thank you !


Source : https://www.dcode.fr/precision-recall
© 2020 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.
Feedback