I am currently studying about the svm I want to create the model of svm in R I have created the model but when I have used the summary on the model the model I am getting the value of gamma epsilon which I am not understand .
set.seed(1)
x<-matrix(rnorm(20*2),ncol=2)
y<-c(rep(-1,10),rep(1,10))
x[y==1,]=x[y==1,]+1
plot(x,col=(3-y))
dat<-data.frame(x=x,y=y)
require(e1071)
svmfit=svm(y~.,data=dat,kernel="linear",cost=10,scale=FALSE)
summary(svmfit)
Call:
svm(formula = y ~ ., data = dat, kernel = "linear", cost = 10, scale = FALSE)
Parameters:
SVM-Type: eps-regression
SVM-Kernel: linear
cost: 10
gamma: 0.5
epsilon: 0.1
Number of Support Vectors: 19