prf | R Documentation |
Compute the precision, recall and F1 score using the TP, TP.baseline, FP and FN columns.
prf(eval.df, use.calls.tp.everywhere = TRUE)
eval.df |
a data.frame with columns TP, TP.baseline, FP, and FN. |
use.calls.tp.everywhere |
use the TP count as number of calls matched even for the recall computation |
the input data.frame with 3 new columns precision, recall and F1.
Jean Monlong
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.