search for: classesbctrain

Displaying 2 results from an estimated 2 matches for "classesbctrain".

2010 Jul 14
1
question about SVM in e1071
...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.01) > model2 <- svm(databctrain, classesbctrain, kernel = "linear", cost = 1) > model3 <- svm(databctrain, classesbctrain, kernel = "linear", cost = 100) > model1 Call: svm.default(x = databctrain, y = classesbctrain, kernel...
2009 Jul 07
2
Question in using e1071 svm routine
Hi all, I've got the following error message in using e1071 svm routine... Could anybody please help me? Thank you! --------------------------------- model <- svm(y=factor(mytraindata[, 1]), x=mytraindata[, -1], probability=T) Error in if (any(co)) { : missing value where TRUE/FALSE needed In addition: Warning message: In FUN(newX[, i], ...) : NAs introduced by coercion