Added a method to plot percision, recall, and f-measure against threshold.