As can be seen there is a difference in the two methods used above.
X <- train1[,c(15:51)]
svmfit.radial <- train(as.factor(Recommended) ~ ., data = X,method = “svmRadial”,trControl = ctrl)
# SVM 2: library(kernlab) svmfit.lssvmradial <- train(as.factor(Recommended) ~ ., data = X,method = "lssvmRadial",trControl = ctrl) svmfit.lssvmradial
Can someone please guide me on how these two implementations of SVM differ??