svm e1071 cutoff
snippet in html

svm e1071 cutoff

user1407

#you need covert y to factors
model <- svm(as.factor(vs) ~ hp+mpg+gear,data=mtcars)
predict(model)