ryszard.czerminski@pharma.novartis.com
2004-Jan-12 14:15 UTC
[R] tune(): how to specify a kernel ?
I would like to use tune() for tuning parameters for svm method, but it is not clear to me how to specify a kernel. I am trying to use something like this:> obj <- tune(svm, Species~., data = iris, ranges = list(kernel =c('radial', 'linear'))) Error in pmatch(x, table, duplicates.ok) : argument is not of mode character but it generates an error. Ryszard
Possibly Parallel Threads
- e1071:svm - default epsilon = 0.1 (NOT 0.5) (PR#5671)
- column extraction by name ?
- svm in e1071 package: polynomial vs linear kernel
- problem with pls(x, y, ..., ncomp = 16): Error in inherit s( x, "data.frame") : subscript out of bounds
- how to remove NaN columns ?