if (FALSE) {
data(demo_dataset)
my_dataset <- demo_dataset
cv_res <- svm_cv(my_dataset, folds.num = 4, seed = 1,
parallel.core = 2, cost = 3, kernel = "radial", gamma = 0.5)
### Users can set return.model = TRUE to return the best model.
}
Run the code above in your browser using DataLab