Provided by: libocas-tools_0.97+dfsg-5_amd64

**NAME**

msvmocas - train a multi-class linear SVM classifier

**SYNOPSIS**

msvmocas[options]example_filemodel_file

**DESCRIPTION**

msvmocasis 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_fileis a file with training examples in SVM^light format, andmodel_fileis the file in which to store the learned linear rulef(x)=W'*x.model_filecontainsMcolumns andDlines, whereMis the number of classes andDthe number of dimensions, corresponding to the elements of the matrixW[DxM].

**OPTIONS**

A summary of options is included below.Generaloptions:-hShow summary of options.-v(0|1)Set the verbosity level (default:1)Learningoptions:-cfloatRegularization constant C. (default:1)-nintegerUse only the firstintegerexamples for training. By default,integerequals the number of examples inexample_file.Optimizationoptions:-m(0|1)Solver to be used: 0 ... standard cutting plane (equivalent to BMRM, SVM^perf) 1 ... OCAS (default)-sintegerCache size for cutting planes. (default:2000)Stoppingconditions:-afloatAbsolute tolerance TolAbs: halt ifQP-QD<=TolAbs. (default:0)-rfloatRelative tolerance TolAbs: halt ifQP-QD<=abs(QP)*TolRel. (default:0.01)-qfloatDesired objective value QPValue: halt isQP<=QPValue. (default:0)-tfloatHalts if the solver time (loading time is not counted) exceeds the time given in seconds. (default:infinity)

**EXAMPLES**

Train the multi-class SVM classifier from example fileexample4_train.light, with the regularization constant C=10, verbosity switched off, and save model tomsvmocas.model: msvmocas -c 10 -v 0 example4_train.light msvmocas.model Compute the testing error of the classifier stored inmsvmocas.modelwithlinclassif(1) using testing examples fromexample4_test.lightand save the predicted labels toexample4_test.pred: linclassif -e -o example4_test.pred example4_test.light msvmocas.model

**SEE** **ALSO**

svmocas(1),linclassif(1).

**AUTHORS**

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 MSVMOCAS(1)