[R] interpretation of svm models with the e1071 package

Noah Silverman noah at smartmediacorp.com
Sat Jul 10 06:35:36 CEST 2010


Steve,

Couldn't he also just use the decision.value property to see the 
equivilent of t(x) %*% b for each row?

-N

On 7/9/10 7:11 PM, Steve Lianoglou wrote:
> Hi,
>
> On Fri, Jul 9, 2010 at 12:15 PM, manuel.martin
> <manuel.martin at orleans.inra.fr>  wrote:
>    
>> Dear all,
>>
>> after having calibrated a svm model through the svm() command of the e1071
>> package, is there a way to
>> i) represent the modeled relationships between the y and X variables
>> (response variable vs. predictors)?
>>      
> Can you explain a bit more ... how do you want them represented?
>
>    
>> ii) rank the influence of the predictors used in the model?
>>      
> One technique that's often/sometimes used is to calculate the SVM's W
> vector by using the support vectors along with their learned
> weights/alphas.
>
> This comes up every now and again. Here's an older post explaining how
> you might do that with the svm model from e1071:
>
> http://article.gmane.org/gmane.comp.lang.r.general/158272/match=w+b+vector+svr
>
> Hope that helps.
>
>



More information about the R-help mailing list