Answers for "how to build svm model in r"

0

how to build svm model in r

library(e1071)
svm_model <- svm(y ~ ., data = ..., 
                 type = "C-classification", kernel = "polynomial", degree = 3, 
                 cost = 50, gamma = 0.01, coef0 = 1)
summary(svm_model)
Posted by: Guest on April-26-2020

Browse Popular Code Answers by Language