初次使用svm,不知道svm_train的参数该怎么设置,svm_train源码的注释里虽然有相关解释,但是看得云里雾里,如下:
Train an SVM model from data (y, x) or an svm_problem prob using
'options' or an svm_parameter param.
If '-v' is specified in 'options' (i.e., cross validation)
either accuracy (ACC) or mean-squared error (MSE) is returned.
options:
-s svm_type : set type of SVM (default 0)
0 -- C-SVC(multi-class classification)
1 -- nu-SVC(multi-class c