View source: R/confusion.matrix.f1.score.simple.R
confusion.matrix.f1.score | R Documentation |
Calculate F1 Score, defined as 2*TP / (2*TP+FP+FN), for a given confusion matrix.
confusion.matrix.f1.score(confusion.matrix) confusion.matrix.f1.score.simple( true.positive = 1, false.positive = 0, false.negative = 0 )
confusion.matrix |
Matrix - confusion matrix. |
true.positive |
Scalar - Cases identified as true positive |
false.positive |
Scalar - Cases identified as false positive |
false.negative |
Scalar - Cases identified as false negative |
A scalar with computed value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.