Add final step to learning method to test classifer on validation and training sets