Tuning the classifier