modify svm and add some load_data methods