Displaying 1 result from an estimated 1 matches for "planatscher".
2010 Jul 14
1
question about SVM in e1071
Hi,
I have a question about the parameter C (cost) in svm function in e1071. I
thought larger C is prone to overfitting than smaller C, and hence leads to
more support vectors. However, using the Wisconsin breast cancer example on
the link:
http://planatscher.net/svmtut/svmtut.html
I found that the largest cost have fewest support vectors, which is contrary
to what I think. please see the scripts below:
Am I misunderstanding something here?
Thanks a bunch,
-Jack
> model1 <- svm(databctrain, classesbctrain, kernel = "linear", cost = 0....