[R] Problem training svm with columns having same values

From: Soumyadeep nandi <soumyadeep_nandi_at_yahoo.com>
Date: Thu, 06 Mar 2008 03:59:06 -0800 (PST)

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

The error I am getting is:
Error in predict.svm(ret, xhold) : Model is empty!

Is there any way to over come this trouble?


        [[alternative HTML version deleted]]

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 06 Mar 2008 - 12:04:13 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 Thu 06 Mar 2008 - 13:30:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive