[pymvpa] SVM weights - positive and negative values

Ricky Savjani rsavjani at gmail.com
Sun Mar 31 20:11:30 UTC 2013

Hi PyMVPA team,

I had a quick question (or perhaps just pt of confusion) on the output of
SVM weights using a sensitivity_analyzer. In particular, I think that the
sign (positive vs negative) of the svm weights reflects the weighting for
the particular target (say 'class1' vs "class2"). I think positive values
would be associated with class1 and negative values to be associated with
class2. But how can you be sure which target corresponds to positive values
in the SVM weights? Is it simply alphabetically, meaning class1 would take
on positive values and class2 negative values? Or is this entirely the
incorrect interpretation of the SVM weights that are output by the
sensitivity analyzer?

Thanks very much for the help.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20130331/02757f95/attachment.html>

More information about the Pkg-ExpPsy-PyMVPA mailing list