Re: [R] Levels in new data fed to SVM

2013-01-10 Thread Claus O'Rourke
Thanks for clarifying! On Thu, Jan 10, 2013 at 12:47 PM, Uwe Ligges wrote: > > > On 08.01.2013 21:14, Claus O'Rourke wrote: >> >> Hi all, >> I've encountered an issue using svm (e1071) in the specific case of >> supplying new data which may not have the full range of levels that >> were present i

Re: [R] Levels in new data fed to SVM

2013-01-10 Thread Uwe Ligges
On 08.01.2013 21:14, Claus O'Rourke wrote: Hi all, I've encountered an issue using svm (e1071) in the specific case of supplying new data which may not have the full range of levels that were present in the training data. I've constructed this really primitive example to illustrate the point:

[R] Levels in new data fed to SVM

2013-01-08 Thread Claus O'Rourke
Hi all, I've encountered an issue using svm (e1071) in the specific case of supplying new data which may not have the full range of levels that were present in the training data. I've constructed this really primitive example to illustrate the point: > library(e1071) > training.data <- data.frame