Ok. I should have made the question clearer. By asking is there anyway to solve this problem, what I meant was, how to give exceptions to such scenarios. My mistake and apologies for that. I can understand why prediction cannot be done when a trained variable is missing in the test set :). thanks for responding to a not very clear question Uwe.
Divya -- View this message in context: http://r.789695.n4.nabble.com/handling-constant-factors-in-prediction-using-svm-tp3870093p3881504.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@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.