SVMOCAS(1)
β¨ SVMOCAS(1) β like, the manual page bestie β¨
okay so welcome to the General Commands Manual entry for svmocas(1), and honestly? she's iconic. let's get into it π
πΈ NAME πΈ
svmocas β train a binary linear SVM classifier
π¦ SYNOPSIS π¦
svmocas [options] example_file model_file
π DESCRIPTION π
svmocas is that girl. she trains a binary linear SVM classifier using the Optimized Cutting Plane Algorithm for Support Vector Machines (OCAS) and then produces a model file. no cap.
example_file is a file with training examples in SVM^light format. and model_file is the file where the learned linear rule f(x)=w'*x+w0 gets stored. so model_file contains d lines, where d is the number of data dimensions. the first n lines are coordinates of w and the last line is w0. periodt. π«
β¨ OPTIONS β¨
a summary of options is included below. she has range, bestie.
π General options
-hβ show summary of options. the "help me bestie" button fr.-v(0|1) β set the verbosity level (default:1). how chatty she is.
π Learning options
-cfloat β Regularization constantC. (default:1)-Cconstants_file β if specified, each example has a different regularization constant, taken from the text file constants_file. Each line of the text file must contain a single constant (positive double) for the corresponding example. If-Cis used, then the-coption is ignored. π-b(0|1) β Value of the L2-bias feature. A value of0implies not having bias. (default:0)-ninteger β Use only the first integer examples for training. By default, integer equals the number of examples in example_file.
π₯ Optimization options
-m(0|1) β Solver to be used:0... standard cutting plane (equivalent to BMRM, SVM^perf)1... OCAS (default)
-sinteger β Cache size for cutting planes. (default:2000)-pinteger β Number of threads. (default:1)
β Stopping conditions
-afloat β Absolute toleranceTolAbs: halt ifQP-QD <= TolAbs. (default:0)-rfloat β Relative toleranceTolAbs: halt ifQP-QD <= abs(QP)*TolRel. (default:0.01)-qfloat β Desired objective valueQPValue: halt isQP <= QPValue. (default:0)-tfloat β Halts if the solver time (loading time is not counted) exceeds the time given in seconds. (default:infinity)
π EXAMPLES π
Train the binary SVM classifier from riply_trn.light, with the regularization constant C=10, bias switched on, verbosity switched off, and save model to svmocas.model:
svmocas -c 10 -b 1 -v 0 riply_trn.light svmocas.model
Compute the testing error of the classifier stored in svmocas.model with linclassif(1) using testing examples from riply_tst.light and save the predicted labels to riply_tst.pred:
linclassif -e -o riply_tst.pred riply_tst.light svmocas.model
π SEE ALSO π
msvmocas(1), linclassif(1). go read those next, iykyk π«Ά
π«Ά AUTHORS π«Ά
svmocas 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 <ckk@debian.org> for the Debian project (and may be used by others).
okay that's the whole page bestie, go train something cute π
and for the sign-off: this little beauty is dated June 16, 2010, and yeah, it's still SVMOCAS(1) in the General Commands Manual. iconic behavior, no notes. π β¨ π¦
π¦ 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