Re: [Scikit-learn-general] Retrieving Feature Names From LogisticRegression model

2014-04-20 Thread Alexandre Gramfort
hi, you need to do it manually accessing the .coef_ and .intercept_ attributes after fitting the model. HTH Alex On Mon, Apr 21, 2014 at 6:58 AM, Michael Kneier wrote: > Hi All, > > I am using the LogisticRegression model on a sparse matrix of features. Due > to the certain technical restricti

[Scikit-learn-general] Retrieving Feature Names From LogisticRegression model

2014-04-20 Thread Michael Kneier
Hi All, I am using the LogisticRegression model on a sparse matrix of features. Due to the certain technical restrictions, I need to access the coefficients and their names. Could someone please explain how this can be done? For example, if I were to model y ~ var1 . var1000 , I would need so