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 <[email protected]> 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 something?
>
>
> On Wed, Aug 14, 2013 at 12:18 PM, Andreas Mueller <
> [email protected]> wrote:
>
>> 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,
>> Andy
>>
>>
>> ------------------------------------------------------------------------------
>> Get 100% visibility into Java/.NET code with AppDynamics Lite!
>> It's a free troubleshooting tool designed for production.
>> Get down to code-level detail for bottlenecks, with <2% overhead.
>> Download for free and get started troubleshooting in minutes.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Scikit-learn-general mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>>
>
>
>
> --
> Regards
>
> Abhishek Thakur
>
>
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general