using decision function for SVM