MSVMOCAS(1) | General Commands Manual | MSVMOCAS(1) |
msvmocas - train a multi-class linear SVM classifier
msvmocas [options] example_file model_file
msvmocas is a program that trains a multi-class linear SVM classifier using the Optimized Cutting Plane Algorithm for Support Vector Machines (OCAS) and produces a model file.
example_file is a file with training examples in SVM^light format, and model_file is the file in which to store the learned linear rule f(x)=W'*x. model_file contains M columns and D lines, where M is the number of classes and D the number of dimensions, corresponding to the elements of the matrix W [D x M].
A summary of options is included below.
General options:
Learning options:
Optimization options:
0 ... standard cutting plane (equivalent to BMRM, SVM^perf) 1 ... OCAS (default)
Stopping conditions:
Train the multi-class SVM classifier from example file example4_train.light, with the regularization constant C=10, verbosity switched off, and save model to msvmocas.model:
msvmocas -c 10 -v 0 example4_train.light msvmocas.model
Compute the testing error of the classifier stored in msvmocas.model with linclassif(1) using testing examples from example4_test.light and save the predicted labels to example4_test.pred:
linclassif -e -o example4_test.pred example4_test.light msvmocas.model
msvmocas was written by Vojtech Franc <xfrancv@cmp.felk.cvut.cz> and Soeren Sonnenburg <Soeren.Sonnenburg@tu-berlin.de>.
This manual page was written by Christian Kastner <debian@kvr.at>, for the Debian project (and may be used by others).
June 16, 2010 |