I have performed both Logistic Regression and SVM on my dataset using train and test sets.
Now, in order to check that my results are robust, I want to perform cross validation (I am using
I am using this code:
train_control <- trainControl(method="repeatedcv", number=10, repeats=10)
model <- train(response ~., data=df, trControl=train_control, method="glm")
However, to me, it seems that I am only checking the accuracy of my logistic regression model (since I am using
How can I use cross validation to check the accuracy of my SVM model? (a method called 'svm' does not exist)