How to Calculate Precision, Recall, and F-Measure for Imbalanced Classification