f1 | R Documentation |
Calculate the F1 score for classification:
f1(precision, recall)
precision |
Float [0, 1]: Precision a.k.a. Positive Predictive Value |
recall |
Float [0, 1]: Recall a.k.a. Sensitivity |
F1 = 2 \frac{Recall \cdot Precision}{Recall + Precision}
E.D. Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.