Kernel parameters have to be passed directly and not by using the `kpar` list in `ksvm`. Note that `fit` has been set to `FALSE` by default for speed.

Argument of: kernlab::ksvm

for the ANOVA kernel "anovadot".

Argument of: kernlab::ksvm

for the Hyperbolic tangent kernel function "tanhdot"

Argument of: kernlab::ksvm

for the Bessel kernel "besseldot".

Argument of: kernlab::ksvm

A logical vector indicating the variables to be scaled. If scaled is of length 1, the value is recycled as many times as needed and all non-binary variables are scaled. Per default, data are scaled internally (both x and y variables) to zero mean and unit variance. The center and scale values are returned and used for later predictions.

Argument of: kernlab::ksvm

ksvm can be used for classification , for regression, or for novelty detection. Depending on whether y is a factor or not, the default setting for type is C-svc or eps-svr, respectively, but can be overwritten by setting an explicit value. Valid options are:

C-svc   C classification

nu-svc  nu classification

C-bsvc  bound-constraint svm classification

spoc-svc  Crammer, Singer native multi-class

kbb-svc  Weston, Watkins native multi-class

one-svc  novelty detection

eps-svr  epsilon regression

nu-svr   nu regression

eps-bsvr  bound-constraint svm regression

Argument of: kernlab::ksvm

the kernel function used in training and predicting. This parameter can be set to any function, of class kernel, which computes the inner product in feature space between two vector arguments (see kernels). kernlab provides the most popular kernel functions which can be used by setting the kernel parameter to the following strings:

rbfdot Radial Basis kernel "Gaussian"

polydot Polynomial kernel

vanilladot Linear kernel

tanhdot Hyperbolic tangent kernel

laplacedot Laplacian kernel

besseldot Bessel kernel

anovadot ANOVA RBF kernel

splinedot Spline kernel

stringdot String kernel

Setting the kernel parameter to "matrix" treats x as a kernel matrix calling the kernelMatrix interface. The kernel parameter can also be set to a user defined function of class kernel by passing the function name as an argument.