[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615636#action_12615636 ]
Karl Wettin commented on MAHOUT-65: ----------------------------------- bq. could you please state the problem you are trying to solve The way I look at it attribute names (labels), types and meta data is the part of the same thing. I predict the future will contain more meta data in class Attribute and Attributes, but right now I'm only concerned about attribute names and ordinal value codec. Typically this would be interesting at pre processing time and not when invoking some algorithm on the matrix. bq. and how closely binding these Attributes to every Vector/Matrix instance helps us to solve it? I honestly don't see how my dry code is more closly bound to Vector/Matrix than the Map in the patch? bq. But it really should be a separate JIRA, possibly as a follow-on to this one. I really don't agree. If anything I think we should rename this issue to something like "Attribute meta data". You see, I'm doing my best here to come up with an alternative to the patch as I don't like it. It is to static and has no room for more meta data. I mean, it's just a map! Should we also add a map in the vector for ordinal values, one for types, et c? I really don't think that is a good solution. I want meta data be gathered together in some aggregated layer because I think such data belongs together. (I still think it should be completely separated from the Vector and Matrix.) > 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 > Reporter: Jeff Eastman > Attachments: MAHOUT-65.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.