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 = hsv_palette(),
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
.tune
data(iris)
obj <- tune.svm(Species~., data = iris, sampling = "fix",
gamma = 2^c(-8,-4,0,4), cost = 2^c(-8,-4,-2,0))
plot(obj, transform.x = log2, transform.y = log2)
plot(obj, type = "perspective", theta = 120, phi = 45)
Run the code above in your browser using DataLab