Re: [Scikit-learn-general] bag of features

2013-08-14 Thread Andreas Mueller
On 08/14/2013 02:00 PM, abhishek wrote: > Hi, > > suppose we have a list of numpy arrays. These numpy arrays are two > dimensional and have equal number of columns but unequal number of > rows. I dont think that scikit classifiers will work on these kind of > features or maybe i'm missing someth

Re: [Scikit-learn-general] bag of features

2013-08-14 Thread Joel Nothman
I think sklearn.feature_extraction.DictVectorizer is designed to handle this sort of case, but produces a single array representing multiple categorical variables, rather than a set of separate arrays. - Joel On Wed, Aug 14, 2013 at 10:00 PM, abhishek wrote: > Hi, > > suppose we have a list of

Re: [Scikit-learn-general] bag of features

2013-08-14 Thread abhishek
Hi, suppose we have a list of numpy arrays. These numpy arrays are two dimensional and have equal number of columns but unequal number of rows. I dont think that scikit classifiers will work on these kind of features or maybe i'm missing something? On Wed, Aug 14, 2013 at 12:18 PM, Andreas Muell

Re: [Scikit-learn-general] bag of features

2013-08-14 Thread Andreas Mueller
On 08/14/2013 11:56 AM, abhishek wrote: > hi, > > Is there a classifier in scikit-leran that suports bag of feature vectors? All classifiers work on numpy arrays, and many work on scipy sparse matrices. What is special about bag of feature representations that makes you ask this question? Cheers

[Scikit-learn-general] bag of features

2013-08-14 Thread abhishek
hi, Is there a classifier in scikit-leran that suports bag of feature vectors? -- Regards Abhishek Thakur -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for p