svm-scale(1)

svm-scale1

Scale data to a restricted range as preprocessing for svm training

Usage

svm-scale [-l lower] [-u upper] [-y y_upper] [-s save_filename] [-r restore_filename] datafilename

Overview

svm-scale reads the given datafilename (a training or testing data file as specified in svm_train(1) or svm_predict(1) ) and scales all dimensions to the given ranges.

Options

-l lower

lower is the lowest (minimal) value allowed in each dimension. It defaults to -1.

-u upper

upper is the highest (maximal) value allowed in each dimension. It defaults to 1.

-y y_lower

y_lower is a boolean value (0 or 1) indicating whether or not y-values (targets) should be scaled. It defaults to 0.

-s save_filename

save_filename indicates the filename to save the scaled data to.

-r restore_filename

restore_filename indicates the filename reserved to hold the original (unscaled) data in case there is a need to restore.

Files

datafilename must be a training or testing dataset.

Environment

No environment variables.

Diagnostics

None documented; see Vapnik et al.

Releases

10 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0–5.0
  2. 6.0
  3. 7–13

Bugs

Please report bugs to the Debian BTS.

Author

Chih-Chung Chang, Chih-Jen Lin <[email protected]>, Chen-Tse Tsai <[email protected]> (packaging)

From libsvm-tools 3.24+ds-6.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.