A svm implementation with smo algorithm