mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Eastman <>
Subject Re: [jira] Updated: (MAHOUT-65) Add Element Labels to Vectors and Matrices
Date Mon, 06 Jul 2009 15:46:19 GMT
Transient fields are used by the Gson serialization as well as Java 
serialization. If you remove the transient label bindings indicator in 
AbstractVector you will get rather surprising growth in your KMeans 
output, especially if you do not name your input points. I suggest 
keeping the transient in this case.


Sean Owen (JIRA) wrote:
>      [
> Sean Owen updated MAHOUT-65:
> ----------------------------
>     Attachment: Clone_changes.patch
> OK yeah, the clone() methods needed some work. It is somewhat tricky to get right --
think I got it here. It takes even a little more work to do it efficiently. Worth taking a
look at the patch. I am testing now to double-check before submitting.
> (And while I'm at it... can we place member fields before constructors, and not use 'transient'
where Java serialization is not involved)
>> Add Element Labels to Vectors and Matrices
>> ------------------------------------------
>>                 Key: MAHOUT-65
>>                 URL:
>>             Project: Mahout
>>          Issue Type: New Feature
>>          Components: Matrix
>>    Affects Versions: 0.1
>>            Reporter: Jeff Eastman
>>            Assignee: Jeff Eastman
>>         Attachments: Clone_changes.patch, MAHOUT-65-name.patch, MAHOUT-65-name.patch,
MAHOUT-65-name.patch, MAHOUT-65.patch, MAHOUT-65b.patch, MAHOUT-65c.patch, MAHOUT-65d.patch
>> Many applications can benefit by accessing elements in vectors and matrices using
String labels in addition to numeric indices. Investigate adding such a capability.

View raw message