liblinear-predict - Make predictions based on a trained linear classifier model
Contents
Description
liblinear-predict uses the linear classifier model-file to make predictions for each of the samples in
test_file and stores the results in output_file.
Examples
Train a linear SVM using L2-loss function with linear-train(1):
liblinear-train data_file
Output probability estimates (for logistic regression only):
liblinear-predict -b 1 test_file data_file.model output_file
Name
liblinear-predict - Make predictions based on a trained linear classifier model
Options
A summary of options is included below.
-b(0|1)
Whether to output probability estimates or not (default: 0)
-q quiet mode (no outputs)
See Also
liblinear-train(1), svm-predict(1), svm-train(1), svm-scale(1)
Synopsis
linear-predict [options] test_filemodel_fileoutput_file
