LINCLASSIF(1)
π LINCLASSIF β the linclassif manual page, bestie edition π
okay so you opened the manual for linclassif, a General Commands Manual situation, and I am so glad you're here. let's get into it π«Ά
β¨ NAME β¨
linclassif β predict labels by a linear classification rule π₯
πΈ SYNOPSIS πΈ
linclassif [options] example_file model_file
π¦ DESCRIPTION π¦
okay so linclassif is a program that predicts labels by a linear classification rule. that's literally the whole vibe. π
now, the two files you hand it are doing different jobs and you need to know which is which:
example_fileβ a file full of testing examples, formatted in SVM^light format β¨model_fileβ the file holding your rule. it can be either a binary (two-class) rule:
f(x)=w'*x+w0
or a multi-class rule:
f(x)=W'*x
and where do those come from? so glad you asked, bestie β they're produced by svmocas(1) and msvmocas(1), respectively. π
π OPTIONS π
a summary of options is included below. no skips, no skimming, we're doing all of them π
-hβ show summary of options. the classic "help me" move π-v (0|1)β set the verbosity level. default is1. turn it down if you want peace π-eβ print the classification error, computed from the predicted labels and the labels contained inexample_file. yes, it's grading itself. iconic β¨-o out_fileβ save predictions to the fileout_fileπ-t (0|1)β output type. two moods only:0β¦ predicted labels (this is the default) π1β¦ discriminant values π
π§ EXAMPLES π§
example one: train the multi-class SVM classifier from example file fiply_trn.light, using svmocas(1) with the regularization constant C=10, verbosity switched off, and save the model to svmocas.model:
svmocas -c 10 -b 1 -v 0 riply_trn.light svmocas.model
example two: compute the testing error of the classifier stored in svmocas.model 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
not me noticing the prose saysfiply_trn.lightwhile the actual command saysriply_trn.lightπ i'm keeping it exactly as written, no cap β the original said it, so we said it. π―
π SEE ALSO π
go read those too, bestie, they're the ones making the models in the first place π«Ά
π AUTHORS π
linclassif was written by Vojtech Franc <xfrancv@cmp.felk.cvut.cz> and Soeren Sonnenburg <Soeren.Sonnenburg@tu-berlin.de>. absolute legends, fr fr β
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 came from the General Commands Manual, dated August 24, 2014, and it's the LINCLASSIF(1) page β so if you see that version and date floating around, that's us. slay, bye πβ¨
π¦ 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