When I run this code: svm_tune <- tune(svm, result ~ ., data = data$train, ranges = list(epsilon = seq(0,1,1), cost = 2^(2:9))) print(svm_tune)
it gives the error: