6
$\begingroup$

Is the F1 score sensitive or indifferent to the threshold (for defining positive or negative)?

$\endgroup$

2 Answers 2

11
$\begingroup$

Yes, it is. The formula:

$$F_1 = \frac{2TP}{2TP + FP + FN}$$

There is no symmetry. You have only $TP$ in the nominator which means that $F_1=0$ if $threshold=1$.

$\endgroup$
3
$\begingroup$

Yes it is.

For an evaluation measure independent from the threshold, look at the Area Under the Curve (AUC).

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.