According to the doc (0.20.2) the coef_ variables are suppose to be shape
(1, n_features) for binary classification. Well I created a Pipeline and
performed a GridSearchCV to create a LogisticRegresion model that does
fairly well. However, when I want to rank feature importance I noticed that
my co
On Mon, Jan 7, 2019 at 11:50 PM pisymbol wrote:
> According to the doc (0.20.2) the coef_ variables are suppose to be shape
> (1, n_features) for binary classification. Well I created a Pipeline and
> performed a GridSearchCV to create a LogisticRegresion model that does
> fairly w
>
> Best,
> Sebastian
>
> > On Jan 7, 2019, at 11:02 PM, pisymbol wrote:
> >
> >
> >
> > On Mon, Jan 7, 2019 at 11:50 PM pisymbol wrote:
> > According to the doc (0.20.2) the coef_ variables are suppose to be
> shape (1, n_features) for bina
Also Sebastian, I have binary classes but they are strings:
clf.classes_:
array(['American', 'Southwest'], dtype=object)
On Tue, Jan 8, 2019 at 9:51 AM pisymbol wrote:
> If that is the case, what order are the coefficients in then?
>
> -aps
>
> On Tue