Hello, I am trying to run the following piece of command:
svm.linear<-svm(price~., subset = generation >0, data = trainset, cost = C, epsilon = 1, type = 'eps-regression') If epsilon = 1, the program runs fine. For larger values, e.g. 10, I get the following error: Error in predict.svm(ret, xhold, decision.values = TRUE) : Model is empty! Calls: RegressionAnalyses ... svm.formula -> svm.default -> na.action -> predict -> predict.svm Execution halted My impression is that sum.linear is returning empty. I initially believed that it could be coursed by an infeasible solution, but I think now that this may not be the case as we allow for slacks in both constraints, i.e. xi. Can someone help me here? I am a little stuck. (btw, C=300) ______________________________________________ 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.