In the LIBLINEAR docs, we have
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.
However, even after reading the homepage and looking at the docs, I can't find out what the options are for liblinear_options
.
Is this listed somewhere but I am clearly missing it?
Futhermore, since I am unable to find liblinear_options
listed anywhere, I am stuck with the following question:
Does the train
method use a linear SVM to develop a model?
Liblinear is a linear classifier. Besides SVM, it also included logistic regression based classifier. And yes, as its name indicates, the linear kernel is applied in SVM.
You may check their github page for the
liblinear_options
. I copied them here as well: