Compute precision, recall and F1 from true positives, false positives and false negatives. Useful for threshold selection on imbalanced data.
精确率关注预测正确性,召回率关注覆盖度。