Hi,
Is the variable st character or a factor? What does str(train$st) show?
str(train$st)
Factor w/ 208 levels 0,000,0,0058643,..: 132 134 41 29 42 151 195 195
196 207 ...
Thank you very much Max with your help I found my error, now it works.
Marlene.
Hi R users,
I'm trying to run a SVM - regression using e1071 package but the function svm()
all the time apply a classification method rather than a regression.
svm.m1 - svm(st ~ ., data = train, cost = 1000, gamma = 1e-03)
Parameters:
SVM-Type: C-classification
SVM-Kernel:
Is the variable st character or a factor? What does str(train$st) show?
--
Max
__
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
3 matches
Mail list logo