[R] Hello all, How can I get corss-validation MSE of SVM in e1071?
Max Kuhn
mxkuhn at gmail.com
Mon Dec 21 18:30:01 CET 2009
> The caret package is so good, I am learning it, but one problem is that nearZeroVar function can be used to identify near zero–variance variables and it only identify, how can I remove those variables that were identify, because I have many zero- or near zero- ones, it is not realistic to removel it by hand, can this function can identify and removel those ones automatically?
>
newx <- x[, -nearZeroVar(x), drop = FALSE]
should do it
More information about the R-help
mailing list