tune the parameters in SVM classifier