2014-02-19 20:57 GMT+01:00 Pavel Soriano <sorianopa...@gmail.com>:
> I thought about using the values of the coefficients of the fitted logit
> equation to get a glimpse of what words in the vocabulary, or what style
> features, affect the most to the classification decision. Is it correct to
> assume that if the coefficient of a variable is positive, this means a
> higher importance of said variable towards "positive" label? If it is near
> to one, is almost 50/50 for the final classification, and if it is negative,
> it contributes towards the "negative" class?

Yes. See the document classification example for how to inspect a
model trained on text features; I don't think it tests LR at the
moment, but you can just plug it in.

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to