MSVMOCAS(1)
π MSVMOCAS(1) π
okay bestie, pull up a chair because today we're meeting msvmocas, a lil legend from the General Commands Manual section 1, and she is here to train a multi-class linear SVM classifier. no cap. β¨
πΈ NAME πΈ
msvmocas β train a multi-class linear SVM classifier
π SYNOPSIS π
msvmocas [options] example_file model_file
π¦ DESCRIPTION π¦
so like, msvmocas is the program that trains a multi-class linear SVM classifier using the Optimized Cutting Plane Algorithm for Support Vector Machines (aka OCAS, iconic name, ate) and then produces a model file. that's the whole vibe. π
example_file is a file with training examples in SVM^light format, and model_file is the file where we store the learned linear rule f(x)=W'*x. the way that 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]. literally math but make it fashion π
β¨ OPTIONS β¨
a summary of options is included below, bestie. read them all, they're all important, no skipping π
π General options
-hβ show summary of options. the classic "help me pls" move π«Ά-v (0|1)β set the verbosity level (default:1)
π Learning options
-c floatβ regularization constantC. (default:1)-n integerβ use only the firstintegerexamples for training. by default,integerequals the number of examples inexample_file.
π Optimization options
-m (0|1)β solver to be used:0... standard cutting plane (equivalent to BMRM, SVM^perf)1... OCAS (default)
-s integerβ cache size for cutting planes. (default:2000)
β Stopping conditions
-a floatβ absolute toleranceTolAbs: halt ifQP-QD <= TolAbs. (default:0)-r floatβ relative toleranceTolAbs: halt ifQP-QD <= abs(QP)*TolRel. (default:0.01)-q floatβ desired objective valueQPValue: halt isQP <= QPValue. (default:0)-t floatβ halts if the solver time (loading time is not counted) exceeds the time given in seconds. (default:infinity)
fr fr, that -t default is literally infinity, so if you want it to stop, you gotta tell it to stop. main character energy but with boundaries π
π₯ EXAMPLES π₯
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
π SEE ALSO π
iykyk π
π§ AUTHORS π§
msvmocas was written by Vojtech Franc <xfrancv@cmp.felk.cvut.cz> and Soeren Sonnenburg <Soeren.Sonnenburg@tu-berlin.de>. absolute icons, we stan π«Ά
this manual page was written by Christian Kastner <debian@kvr.at>, for the Debian project (and may be used by others).
and that's the whole page, bestie π this one's serving June 16, 2010 energy, straight from the Debian project β so go forth, train those classifiers, and slay β¨ππ¦
π¦ where this page comes from
- debian bookworm: libocas-tools 0.97+dfsg-8 Β· GPL-3.0-only
- debian trixie: libocas-tools 0.97+dfsg-8+b2 Β· GPL-3.0-only
- ubuntu jammy: libocas-tools 0.97+dfsg-6 Β· GPL-3.0-only
- ubuntu noble: libocas-tools 0.97+dfsg-8build1 Β· GPL-3.0-only
- ubuntu questing: libocas-tools 0.97+dfsg-8build1
- ubuntu resolute: libocas-tools 0.97+dfsg-8build2 Β· GPL-3.0-only
- ubuntu stonking: libocas-tools 0.97+dfsg-8build2 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms