Compute precision, recall and F1 from true positives, false positives and false negatives. Useful for threshold selection on imbalanced data.
精確率關注預測正確性,召回率關注覆蓋度。