Description Usage Arguments Details Value
This function calculates Recall Gain from the entries of the contingency table: number of true positives (TP), false negatives (FN), false positives (FP), and true negatives (TN). More information on Precision-Recall-Gain curves and how to cite this work is available at http://www.cs.bris.ac.uk/~flach/PRGcurves/.
1 | recall_gain(TP, FN, FP, TN)
|
TP |
number of true positives, can be a vector |
FN |
number of false negatives, can be a vector |
FP |
number of false positives, can be a vector |
TN |
number of true negatives, can be a vector |
Recall Gain (RecGain) quantifies by how much recall is improved over the recall equal to the proportion of positives (pi). RecGain=1 stands for maximal improvement (Rec=1) and RecGain=0 stands for no improvement (Rec=pi). If Rec=0, then RecGain=-Inf. It can happen that RecGain=NaN, for instance if there are no negatives (FP=0 and TN=0) and FN>0 and TP=0.
Recall Gain (a numeric value less than or equal to 1; or -Inf or NaN, see the details below)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.