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 and sensitivity.

Precision and Recall - dCode

Tag(s) : Data processing, Mathematics

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day!

You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? *Contact-me*!

This page is using the new English version of dCode, *please make comments* !

Sponsored ads

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 and sensitivity.

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 items). The precision is $$ P = \frac{3}{4} = 75\% $$

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{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 items). The recall is $$ R = \frac{3}{5} = 60\% $$

F-measure (or F1 score) is the harmonic mean of precision and recall

$$ F = \frac{2 (\text{precision} \times \text{recall})}{(\text{precision} + \text{recall})} $$

dCode retains ownership of the source code of the script Precision and Recall. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the Precision and Recall script for offline use, for you, your company or association, see you on contact page !

precision,recall,fmeasure,predictive,value,sensitivity,statistic,set,item,common,f1

Source : http://www.dcode.fr/precision-recall

© 2017 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaches. dCode