[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613330#action_12613330 ]
Karl Wettin commented on MAHOUT-65: ----------------------------------- With "real" I just mean "plain old double weight feature value". With "ordinal" I mean associating vector values with feature string class values. How do you propose one get to know if the feature is of ordinal type if we use subclasses? Wouldn't that mean lots of instanceof or a visitor? To me it seems much easier to bake it all up in one and the same class. If the labels are hard bound to vectors, then I think it also makes sense to allow vectors to be hard bound to a matrix in which we keep a default list of labels to fall back on. I'm not going to push that hard for hard or loosly bound labels, but I'm going to take the oppertunity to say that many people have spent lots of time to define flexible data definition models, such as the one in JSR 247. We don't need all that stuff they got in there but the stuff we talk about here is very related to what their logical/physical data model is about. Labels are not really needed, it's just meta data that makes life simpler when you are constructing a matrix. Let's not make such a tool difficult to use. > 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.