Re: [R] SVM cross validation in e1071

2009-07-07 Thread Tao Shi
anging. I wonder if the default value for "fitted" should be set to "FALSE" to avoid the confusion: i.e. I thought the "fitted" field in the returning object is the CV results. ...Tao > CC: r-help@r-project.org > From: mailinglist.honey...@gmail.com > T

Re: [R] SVM cross validation in e1071

2009-07-07 Thread Steve Lianoglou
Hi Tao, On Jul 7, 2009, at 8:33 PM, Tao Shi wrote: Hi list, Could someone help me to explain why the leave-one-out cross validation results I got from svm using the internal option "cross" are different from those I got manually? It seems using "cross" to do cross validation, the result

[R] SVM cross validation in e1071

2009-07-07 Thread Tao Shi
Hi list, Could someone help me to explain why the leave-one-out cross validation results I got from svm using the internal option "cross" are different from those I got manually? It seems using "cross" to do cross validation, the results are always better. Please see the code below. I also