Another problem with precision and recall is that they are not sensitive to near misses.
let a be the penalty for 500 Type A errors, b the penalty for 500 Type B errors, and c the penalty for 500 Type C errors; then the penalty for the FNP segmentation is p = a 2 + b 2 + c 2 .