Hi.
   In the current implementation of TfidfTransformer. It is possible to
have a negative tf-idf weight. In IR area, it probably make sense, but for
the text classification task, I would probably never expect a negative
value. For example, if I use the tf-idf weighted matrix in Naive Bayes, the
classification would be totally wrong. What do you think about? If this is
a problem. I would like to make a pull request to fix this.

-- 
Best Wishes
--------------------------------------------
Meng Xinfan(蒙新泛)
Institute of Computational Linguistics
Department of Computer Science & Technology
School of Electronic Engineering & Computer Science
Peking University
Beijing, 100871
China
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to