You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2009/07/06 10:46:15 UTC
[jira] Updated: (MAHOUT-65) Add Element Labels to Vectors and
Matrices
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: https://issues.apache.org/jira/browse/MAHOUT-65
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Updated: (MAHOUT-65) Add Element Labels to Vectors and
Matrices
Posted by Jeff Eastman <jd...@windwardsolutions.com>.
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.
Jeff
Sean Owen (JIRA) wrote:
> [ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> 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: https://issues.apache.org/jira/browse/MAHOUT-65
>> 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.
>>
>
>