Used scores
- $F_1$ score: is the harmonic mean of precision and recall. Where Precosion is the quotiont of true positives with all positives and recall is the quotient of true positives and all elements to recognize as positive.
$F_1 = 2 {P R \over P + R}$
\hfill $P = {TP \over TP + FP}$
\hfill $R = {TP \over TP + FN}$
$\kappa = {p_0 - p_c \over 1 - p_c}$
\hfill $p_0 = TP + TN$
\hfill $pc = {1 \over 4} \sum{x \in {TP, TN}} (x + FN)(x + FP)$
Where
- TP is the number of correct predicted positive values.
- TN is the number of correct predicted negative values.
- FN is the number of negative predicted values that should be positive.
- FP is the number of positive predicted values that should be negative.