Solved – SVM importance of predictor variables

feature selectionsvm

I am building a model in R using support vector machine (SVM) with KBF kernel.
The model seems to work quite well. I would like to assess the relative importance of predictor variables.

Can anyone tell me how this can done. Does there exist an R script for that?

Best Answer

Unfortunately, there is no direct way to get such information with SVMs, in contrast to, for example, logistic regression.

If you want, you can estimate the contribution of a single predictor ad hoc by training a model on all predictors except that specific predictor. The difference in performance between that model and the one with all predictors may then be considered the marginal contribution of that predictor.

If time permits, you can perform this procedure for all predictors.