Hi 
 
I am trying to tune an svm by doing the following:
 
tune(svm, similarity ~., data = training, degree = 2^(1:2), gamma =
2^(-1:1), coef0 = 2^(-1:1), cost = 2^(2:4), type = "polynomial")
 
but I am getting 
 
Error in svm.default(x, y, scale = scale, ...) : 
        wrong type specification!
>
 
I have to admit I am not sure what I am doing wrong.  Could anyone tell
me why the parameters I am using are wrong? 
 
Plus could anyone tell me how to go about picking the correct ranges for
my tuning?
 
Thanks
 
S

	[[alternative HTML version deleted]]


