1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
.\" Hey, EMACS: -*- nroff -*-
.TH LIBLINEAR-PREDICT 1 "March 08, 2011"
.SH NAME
liblinear-predict \- Make predictions based on a trained linear classifier model
.SH SYNOPSIS
.B linear-predict
.RI [ options ] " test_file " "\fImodel_file\fP " \fIoutput_file\fP
.br
.SH DESCRIPTION
\fBliblinear-predict\fP uses the linear classifier \fImodel-file\fP to make
predictions for each of the samples in \fItest_file\fP and stores the results
in \fIoutput_file\fP.
.SH OPTIONS
A summary of options is included below.
.TP
.B \-b \fI(0|1)\fP
Whether to output probability estimates or not (default: \fB0\fP)
.SH EXAMPLES
Train a linear SVM using L2-loss function with \fBlinear-train\fP(1):
.sp
.RS 10
.nf
liblinear-train data_file
.fi
.RE
.sp
Output probability estimates (for logistic regression only):
.sp
.RS 10
.nf
liblinear-predict \-b 1 test_file data_file.model output_file
.fi
.RE
.SH SEE ALSO
.BR liblinear-train (1),
.BR svm-predict (1),
.BR svm-train (1)
.SH AUTHORS
liblinear-predict was written by the LIBLINEAR authors at National Taiwan
university for the LIBLINEAR Project.
.PP
This manual page was written by Christian Kastner <debian@kvr.at>,
for the Debian project (and may be used by others).
|