I'm confused by the formula for the commission-error and the omission-error as it was stated a bit differently in a paper I've read, compared to the one I'm giving below (maybe the authors changed that because of the context of a change detection, not a casual classification).
Are these the correct formula for a given class?
$$ commisionError = \frac{FP}{FP + TP} = \frac{FP}{totalPredicted} $$ $$ omissionError = \frac{FN}{FN + TP} = \frac{FN}{totalReference}$$
Where:
- FP: The false positive.
- TP: The true positive.
- FN: The false negative.
- TN: The true negative.
If we had only two classes, should these two errors be calculated for the two classes, or is there a way to infer the errors of the second class from those of the first one?
I'm asking because it's clear that for a two-classes case we have:
$$ FP_{class1} = FN_{class2} $$
$$ FN_{class1} = FP_{class2} $$