Re: [Scikit-learn-general] FeatureHasher for numeric data

2013-07-28 Thread Gad Abraham
On 29 July 2013 13:31, Joel Nothman wrote: > The calling FeatureHasher.transform() method calls > csr_matrix.sum_duplicates on the output which will produce that > accumulation. > - Joel > Great, thanks! -- See everythin

Re: [Scikit-learn-general] FeatureHasher for numeric data

2013-07-28 Thread Joel Nothman
The calling FeatureHasher.transform() method calls csr_matrix.sum_duplicates on the output which will produce that accumulation. - Joel On Mon, Jul 29, 2013 at 1:22 PM, Gad Abraham wrote: > > > On 11 July 2013 18:33, Lars Buitinck wrote: > >> 2013/7/11 Gad Abraham : >> > I'm very much a sklear

Re: [Scikit-learn-general] FeatureHasher for numeric data

2013-07-28 Thread Gad Abraham
On 11 July 2013 18:33, Lars Buitinck wrote: > 2013/7/11 Gad Abraham : > > I'm very much a sklearn beginner, and I'd like to use FeatureHasher to > > reduce the dimensionality of a numeric matrix. Any hints on how to do > this? > > I've seen the examples showing how to use it with text. > > You me

Re: [Scikit-learn-general] FeatureHasher for numeric data

2013-07-11 Thread Lars Buitinck
2013/7/11 Gad Abraham : > I'm very much a sklearn beginner, and I'd like to use FeatureHasher to > reduce the dimensionality of a numeric matrix. Any hints on how to do this? > I've seen the examples showing how to use it with text. You mean the input is a NumPy array? There's no special support f