You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by Benson Margulies <bi...@gmail.com> on 2010/01/18 16:40:03 UTC
[math] collections cooked?
I think I might be done with collections. I can't work up any
enthusiasm for iterators, or java.util. decorators, and I think I have
the basic functionality all in place. There are a number of perhaps
pointless ways in which Colt diverges from Java collections,
particularly in the area of return values from things like 'put' and
'remove'. If anyone can stir up an opinion against the current state
of the code, I'm game to make it more like Java collections.
Otherwise, give or take bugs, I'm ready to watch Dawid render all this moot.
Re: [math] collections cooked?
Posted by Dawid Weiss <da...@gmail.com>.
I think your suggestion makes a lot of sense.
D.
On Wed, Jan 20, 2010 at 8:54 PM, Benson Margulies <bi...@gmail.com> wrote:
> On Wed, Jan 20, 2010 at 2:04 PM, Ted Dunning <te...@gmail.com> wrote:
>> I think that is the brave and wise choice.
>
> If no one objects in the next day or so, I'll set up a patch to do the
> splitting.
>
>>
>> Ultimately, we may want to add a few more math-y things for the use by
>> Mahout. Notable among these in my mind are probability distributions.
>>
>> On Wed, Jan 20, 2010 at 9:53 AM, Benson Margulies <bi...@gmail.com>wrote:
>>
>>> Benson (and others?), what's our long-term vision
>>> > of moving this stuff under Mahout -- are we to replace Colt's
>>> > collections, make them live side by side, yet another thing?
>>>
>>> My Own Opinion:
>>>
>>> a- Split the math module into three:
>>>
>>> 1) scalar math
>>> 2) collections
>>> 3) vectors
>>>
>>> b- replace collections with your stuff, and discard the Colt collections.
>>>
>>
>>
>>
>> --
>> Ted Dunning, CTO
>> DeepDyve
>>
>
Re: [math] collections cooked?
Posted by Benson Margulies <bi...@gmail.com>.
On Wed, Jan 20, 2010 at 2:04 PM, Ted Dunning <te...@gmail.com> wrote:
> I think that is the brave and wise choice.
If no one objects in the next day or so, I'll set up a patch to do the
splitting.
>
> Ultimately, we may want to add a few more math-y things for the use by
> Mahout. Notable among these in my mind are probability distributions.
>
> On Wed, Jan 20, 2010 at 9:53 AM, Benson Margulies <bi...@gmail.com>wrote:
>
>> Benson (and others?), what's our long-term vision
>> > of moving this stuff under Mahout -- are we to replace Colt's
>> > collections, make them live side by side, yet another thing?
>>
>> My Own Opinion:
>>
>> a- Split the math module into three:
>>
>> 1) scalar math
>> 2) collections
>> 3) vectors
>>
>> b- replace collections with your stuff, and discard the Colt collections.
>>
>
>
>
> --
> Ted Dunning, CTO
> DeepDyve
>
Re: [math] collections cooked?
Posted by Ted Dunning <te...@gmail.com>.
I think that is the brave and wise choice.
Ultimately, we may want to add a few more math-y things for the use by
Mahout. Notable among these in my mind are probability distributions.
On Wed, Jan 20, 2010 at 9:53 AM, Benson Margulies <bi...@gmail.com>wrote:
> Benson (and others?), what's our long-term vision
> > of moving this stuff under Mahout -- are we to replace Colt's
> > collections, make them live side by side, yet another thing?
>
> My Own Opinion:
>
> a- Split the math module into three:
>
> 1) scalar math
> 2) collections
> 3) vectors
>
> b- replace collections with your stuff, and discard the Colt collections.
>
--
Ted Dunning, CTO
DeepDyve
Re: [math] collections cooked?
Posted by Benson Margulies <bi...@gmail.com>.
Benson (and others?), what's our long-term vision
> of moving this stuff under Mahout -- are we to replace Colt's
> collections, make them live side by side, yet another thing?
My Own Opinion:
a- Split the math module into three:
1) scalar math
2) collections
3) vectors
b- replace collections with your stuff, and discard the Colt collections.
Re: [math] collections cooked?
Posted by Dawid Weiss <da...@gmail.com>.
I have integrated HPPC collections with our open source and commercial
stuff, replacing PCJ. All tests pass, which is a good sign in addition
to the tests already included in HPPC.
The code is temporarily released in Carrot2 SVN at:
https://carrot2.svn.sourceforge.net/svnroot/carrot2/labs/hppc/hppc-core
This is still early stage stuff -- there are many things I would like
to add, but either haven't found a nice way to do so or don't know how
to do efficiently. Benson (and others?), what's our long-term vision
of moving this stuff under Mahout -- are we to replace Colt's
collections, make them live side by side, yet another thing? My
initial preference would be to have these classes stripped of anything
that is not essential and build upon them (adapters to Java
collections, for example). The collections in HPPC are fairly
low-level, but I had very little problems moving from PCJ code, which
is a good sign I guess.
Dawid
On Mon, Jan 18, 2010 at 4:40 PM, Benson Margulies <bi...@gmail.com> wrote:
> I think I might be done with collections. I can't work up any
> enthusiasm for iterators, or java.util. decorators, and I think I have
> the basic functionality all in place. There are a number of perhaps
> pointless ways in which Colt diverges from Java collections,
> particularly in the area of return values from things like 'put' and
> 'remove'. If anyone can stir up an opinion against the current state
> of the code, I'm game to make it more like Java collections.
>
> Otherwise, give or take bugs, I'm ready to watch Dawid render all this moot.
>