I have two lists of parameters (gamma and cost) that I want to select using SVM. I want to do 5x cross validation, but my code does 10x cross validation (which is the default). My code looks like this:
prioir_svm <- tune.svm(train, y = trainY, cost = Cs, gamma = gammas, cross = 5)
Can someone tell me what is wrong?
source share