Re: [Scikit-learn-general] SVM multi-class classification weights

2011-11-04 Thread Gilles Louppe
> ranks = np.argsort(np.sum(estimator.coef_ ** 2, axis=0)) > > My question is: Why the summation of the squared weight matrix is used? > What is the logic behind it? This is used for handling estimators that assign several weights to the same feature. Indeed, if several weights are assigned to a e

Re: [Scikit-learn-general] SVM multi-class classification weights

2011-10-28 Thread Alexandre Gramfort
Hello Mathieu, > I am currently using linear SVM to perform classification analyses with > fMRI data. I wanted to extract the weight for each feature in order to > map them back on the brain. Since I am doing a 4 class classification > (supposedly under the 'one vs. one' heuristic), there are 3 we

[Scikit-learn-general] SVM multi-class classification weights

2011-10-28 Thread Mathieu Ruiz
Hello, I am currently using linear SVM to perform classification analyses with fMRI data. I wanted to extract the weight for each feature in order to map them back on the brain. Since I am doing a 4 class classification (supposedly under the 'one vs. one' heuristic), there are 3 weights for ea