Thanks Oliver! so i can do basically same thing with HashingVectorizer + 
TfidfTransformer to get the idf a "hashed" feature?

--Terry

On Mar 28, 2013, at 6:25 PM, Olivier Grisel <[email protected]> wrote:

> 2013/3/28 Terry Peng <[email protected]>:
>> Hi all,
>> 
>> I noticed that there was SparseHashingVectorizer in text.py under 
>> feature_extraction package but it moved to feature_extraction.sparse.text by 
>> Mathieu in d5c62cf.
>> but now i can't find it anywhere.
>> anybody have a clue?
> 
> This is a very old class. It was removed from the lib a long time ago
> because it was not consistent with the standard public API.
> 
> Just use HashingVectorizer instead.
> 
> --
> Olivier
> http://twitter.com/ogrisel - http://github.com/ogrisel
> 
> ------------------------------------------------------------------------------
> Own the Future-Intel&reg; Level Up Game Demo Contest 2013
> Rise to greatness in Intel's independent game demo contest.
> Compete for recognition, cash, and the chance to get your game 
> on Steam. $5K grand prize plus 10 genre and skill prizes. 
> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general


------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to