tune
.
tune.svm(x, y=NULL, data=NULL, degree=NULL, gamma=NULL, coef0=NULL, cost=NULL, nu=NULL, ...) best.svm(x, tunecontrol=tune.control(), ...)
svm
parameters.
"tune.control"
containing
tuning parameters.
tune
.
tune.foo()
returns a tuning object
including the best parameter set obtained
by optimizing over the specified parameter vectors.
best.foo()
directly returns the best model,
i.e. the fit of a new model using the optimal parameters found
by
tune.foo
.
For examples, see the help page of
tune()
.
David Meyer
mailto:David.Meyer@R-project.org