mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Hall <d...@cs.stanford.edu>
Subject Re: MAHOUT-65
Date Thu, 18 Jun 2009 19:19:24 GMT
actually, it looks like someone went to all the trouble to make both
SparseVector and DenseVector have all the methods required by
Writable, but they don't implement Writable.

Could I just make Vector extend Writable?

-- David

On Thu, Jun 18, 2009 at 12:01 PM, David Hall<dlwh@cs.stanford.edu> wrote:
> following up on my earlier email.
>
> Would anyone be interested in a "compressed" serialization for
> DenseVector/SparseVector that follows in the vein of
> hadoop.io.Writable? The space overhead for gson (parsing issues
> not-withstanding) is pretty high, and it wouldn't be terribly hard to
> implement a high-performance thing for vectors.
>
> -- David
>
> On Tue, Jun 16, 2009 at 1:39 PM, Jeff Eastman<jdog@windwardsolutions.com> wrote:
>> +1, you added name constructors that I didn't have and the equals/equivalent
>> stuff. Ya, Gson makes it all pretty trivial once you grok it.
>>
>>
>> Grant Ingersoll wrote:
>>>
>>> Shall I take that as approval of the approach?
>>>
>>> BTW, the Gson stuff seems like a winner for serialization.
>>>
>>> On Jun 16, 2009, at 3:56 PM, Jeff Eastman wrote:
>>>
>>>> You gonna commit your patch? I agree with shortening the class name in
>>>> the JsonVectorAdapter and will do it once you commit ur stuff.
>>>> Jeff
>>>
>>>
>>>
>>>
>>
>>
>

Mime
View raw message