[R] Problem using svm.tune

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Apr 5 12:00:06 CEST 2011



On 04.04.2011 12:43, sadaf zaidi wrote:
> Dear Sir,
>
> I am stuck with a nagging problem in using R for SVM regression. My data has 5
> dimensions and 400 observations. The independent variables are :
> Peb, Ksub, Sub, and Xtt.
> The dependent variable is: Rexp.
> I tried using the svm.tune function as well as<_tune(svm.....), to tune the
> hyper parameters: gamma, epsilon and C.
>
> Since I am new to R, I am probably not using the svm.tune function properly. I
> am getting the following error message:
> Error in predict.svm(ret, xhold, decision.values=TRUE): Model is empty!
> May you please help me!SADAF ZAIDI


Please show us a reproducible examples with all your code. Otherwise it 
is hard to find where the error comes from.

Uwe Ligges


> 	[[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.



More information about the R-help mailing list