liblinear-predict(1)

liblinear-predict1

Make predictions based on a trained linear classifier model

Usage

linear-predict [options] test_file model_file output_file

Overview

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.

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)

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

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7–8
  3. 9–10
  4. 11–13

-q since Debian 9 (Stretch).

Authors

liblinear-predict was written by the LIBLINEAR authors at National Taiwan university for the LIBLINEAR Project.

This manual page was written by Christian Kastner <[email protected]>, for the Debian project (and may be used by others).

From liblinear-tools 2.3.0+dfsg-5+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.