powered by
Plot a Standard SVM Decision Boundary
# S3 method for svms plot(x, ...)
A ggplot object.
ggplot
A fitted svms object.
svms
Unused.
dat <- gen_moons(40) fit <- svms(dat$x, dat$y, kernel = "linear") plot(fit)
Run the code above in your browser using DataLab