Re: [R] training svm

From: Soumyadeep nandi <>
Date: Thu, 06 Mar 2008 21:45:32 -0800 (PST)

What should I do if I need to train svm() with data having same value across all rows in some columns. These must be the important features of the class and we cant exclude these columns to build up models.

The error I am getting is:
Error in predict.svm(ret, xhold) : Model is empty! In addition: Warning message:
In svm.default(datatrain, classtrain) :
 Variable(s) 'F112' and 'F113'.... [... truncated]

Is there any way to overcome this problem? Any suggestions would be highly helpful.


        [[alternative HTML version deleted]] mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Fri 07 Mar 2008 - 05:50:59 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 12 Mar 2008 - 05:30:21 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive