[ 
https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720850#action_12720850
 ] 

Sean Owen commented on MAHOUT-65:
---------------------------------

I am neutral on JSON, if only because its headline feature is not one we care 
about, and that is being especially nice to parse in Javascript -- since it 
represents the data as actual javascript code. (Right?) As such, it happens to 
be a bit more compact that XML, as these self-describing text formats go. 

Is the goal to take as input, and emit as output, human-readable output? if so, 
JSON seems OK -- I am left wishing there were a format more readily designed 
for this purpose. XML is of course an option but it is even more verbose... but 
standard...

Custom binary formats seem unfriendly, as does even Java serialized objects 
(for *external* interaction, that is). So we have stuff like PBs and Thrift. I 
have a bias towards PBs only because I have used them; I imagine it's about the 
same as Thrift. You can relatively easily crank out a human readable version of 
a PB with a tool -- at least, it worked just fine for us at Google in practice.

Anyway, all that said, not really against JSON. There isn't an ideal solution I 
know of, and it's not obviously worse than alternatives. Kinda depends on our 
priorities.

> 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: 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.

Reply via email to