implement a function to predict if the next change is small change with SVM