Could anyone help me to interpret these results from R? How can I find nBSV,nSv, obj and iteration numbers? How can I use nBSV and nSv, obj to determine which kernel is the best?
<!-- language: lang-r>
> library(e1071)
> data(cats, package="MASS")
> inputData <- data.frame(cats[, c (2,3)], response as.factor(cats$Sex))
> svmfit <- svm(cross=10,response ~ ., data = inputData, kernel = "linear",
cost = 10, scale = FALSE)
> print(svmfit)
Call:
svm(formula = response ~ ., data = inputData, cross = 10, kernel = "linear",
cost = 10, scale = FALSE)
Parameters:
SVM-Type: C-classification
SVM-Kernel: linear
cost: 10
gamma: 0.5
Number of Support Vectors: 79
> plot(svmfit, inputData)