Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

linclass(1) [debian man page]

LINCLASS(1)						      General Commands Manual						       LINCLASS(1)

NAME
linclass - predict labels by a linear classification rule SYNOPSIS
linclass [options] example_file model_file DESCRIPTION
linclass is a program that predicts labels by a linear classification rule. example_file is a file with testing examples in SVM^light format, and model_file is the file which contains either a binary (two-class) rule f(x)=w'*x+w0 or a multi-class rule f(x)=W'*x. These are produced svmocas(1) and msvmocas(1), respectively. OPTIONS
A summary of options is included below. -h Show summary of options. -v (0|1) Set the verbosity level (default: 1) -e Print the classification error computed from predicted labels and labels contained in example_file. -o out_file Save predictions to the file out_file. -t (0|1) Output type: 0 ... predicted labels (default) 1 ... discriminant values EXAMPLES
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 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 using testing examples from riply_tst.light and save the predicted labels to riply_tst.pred: linclass -e -o riply_tst.pred riply_tst.light svmocas.model SEE ALSO
svmocas(1), msvmocas(1). AUTHORS
linclass 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 LINCLASS(1)

Check Out this Related Man Page

MSVMOCAS(1)						      General Commands Manual						       MSVMOCAS(1)

NAME
msvmocas - train a multi-class linear SVM classifier SYNOPSIS
msvmocas [options] example_file model_file DESCRIPTION
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]. OPTIONS
A summary of options is included below. General options: -h Show summary of options. -v (0|1) Set the verbosity level (default: 1) Learning options: -c float Regularization constant C. (default: 1) -n integer 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) -s integer Cache size for cutting planes. (default: 2000) Stopping conditions: -a float Absolute tolerance TolAbs: halt if QP-QD <= TolAbs. (default: 0) -r float Relative tolerance TolAbs: halt if QP-QD <= abs(QP)*TolRel. (default: 0.01) -q float Desired objective value QPValue: halt is QP <= QPValue. (default: 0) -t float Halts 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 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 linclass(1) using testing examples from example4_test.light and save the predicted labels to example4_test.pred: linclass -e -o example4_test.pred example4_test.light msvmocas.model SEE ALSO
svmocas(1), linclass(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)
Man Page