svm_viz: Visualize the SVM classifiers

Description Usage Arguments Value

Description

Plots the SVM decision boundary for 2D problems.

Usage

1
svm_viz(train, cl, kernel = "linear")

Arguments

train

matrix or data.frame with 2 columns

cl

vector of training classes

kernel

the kernel. See ?e1071::svm

Value

a ggplot object


jlaria/dsclass documentation built on May 5, 2019, 7:09 a.m.