Adding final step to compute performance of the classifier.