---
name: "svm-grid"
section: "1"
platform: "linux"
package: "libsvm-tools"
version: "3.24+ds-6.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/svm-grid"
---

# svm-grid(1)

a parameter selection tool for LIBSVM

## NAME

svm-grid - a parameter selection tool for LIBSVM

## SYNOPSIS

**svm-grid \[-log2c** *begin,end,step* **\] \[ -log2g** *begin,end,step* **\] \[ -v** *fold* **\] \[ -svmtrain** *pathname* **\] \[ -gnuplot** *pathname* **\] \[ -out** *pathname* **\] \[ -png** *pathname* **\] \[** *additional\_parameters\_for\_svm-train* **\]** *dataset*

## DESCRIPTION

**grid.py** is a parameter selection tool for C-SVM classification using the RBF (radial basis function) kernel. It uses cross validation (CV) technique to estimate the accuracy of each parameter combination in the specified range and helps you to decide the best parameters for your problem.

## FILES

See [**svm-train**(1)](/svm-train/1.md) for the format of  *dataset*

## EXAMPLES

svm-grid -log2c -5,5,1 -log2g -4,0,1 -v 5 -m 300 heart\_scale

## BUGS

Please report bugs to the Debian BTS.

## AUTHOR

Chih-Chung Chang, Chih-Jen Lin \<cjlin@csie.ntu.edu.tw\>, Chen-Tse Tsai \<ctse.tsai@gmail.com\> (packaging)

## SEE ALSO

[**svm-train**(1)](/svm-train/1.md), [**svm-predict**(1)](/svm-predict/1.md)
