[R] to determine the variable importance in svm

Neeti nikkihathi at gmail.com
Tue Oct 26 16:41:44 CEST 2010


hii everyone!!

i have two questions:

1) How to obtain a variable (attribute) importance using e1071:SVM (or other
svm methods)?

2) how to validate the results of svm? 

currently i am using the following code to determine the error.

library(ipred)
for(i in 1:20) error.model1[i]<-
errorest(Species~.,data=trainset,model=svm)$error
summary(error.model1)

######################################
not able to understand errorest result.. if anyone know the better method to
analyse my result please let me know.
###############################################

library(mda)
cmat <- confusion(pred.1,species_test)
-- 
View this message in context: http://r.789695.n4.nabble.com/to-determine-the-variable-importance-in-svm-tp3013817p3013817.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list