I’m working on a ML project. My target variable is binary, and I built a SVM radial model with caret:
ctrl_SVM <- trainControl(method="cv", number=10, search="grid", summaryFunction = twoClassSummary, classProbs = TRUE)
param_grid_SVM_radial <- expand.grid(C = c(0.01, 0.1, 1, 10, 100), sigma = c(0.01, 0.1, 1, 10))
SVM_radial <- train(Target~., data=under_svm, method = "svmRadial", trControl = ctrl_SVM, tuneGrid = param_grid_SVM_radial,
metric= "ROC",preProcess=NULL)
How do I asses the variables importance? What’s the right code?