plot.tune(x, type = c("contour", "perspective"), theta = 60,
col = "lightblue", main = NULL, xlab = NULL, ylab = NULL,
swapxy = FALSE, transform.x = NULL, transform.y = NULL,
transform.z = NULL, color.palette = topo.colors,
nlevels = 20, ...)
tune
TRUE, the parameter axes are swaped (only used
in case of two parameters).
x and
y) and the error measures
(
z). Ignored if
NULL.
David Meyer (based on C/C++-code by Chih-Chung Chang and Chih-Jen Lin)
mailto:David.Meyer@R-project.org
obj <- tune.svm(Species~., data = iris.df, sampling = "fix",
gamma = 2^c(-8,-4,0,4), cost = 2^c(-8,-4,-2,0))
plot(obj, log = "xy")
plot(obj, type = "perspective")