Implementing precision, recall, f-measure classification evaluation
methods