2
在LIBLINEAR docs,我們有MATLAB串接口LIBLINEAR
matlab> model = train(training_label_vector, training_instance_matrix [,'liblinear_options', 'col']);
-training_label_vector:
An m by 1 vector of training labels. (type must be double)
-training_instance_matrix:
An m by n matrix of m training instances with n features.
It must be a sparse matrix. (type must be double)
-liblinear_options:
A string of training options in the same format as that of LIBLINEAR.
-col:
if 'col' is set, each column of training_instance_matrix is a data instance. Otherwise each row is a data instance.
然而,即使閱讀網頁和看文檔後,我無法找出哪些選項是liblinear_options
。
這是列出的地方,但我顯然想念它嗎?
Futhermore,因爲我無法找到任何地方上市liblinear_options
,我堅持了以下問題:
是否train
方法使用線性SVM建立一個模型?