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

Jeff Eastman commented on MAHOUT-65:
------------------------------------

I changed the code to substitute 10 random double values and it tipped the 
scales in favor of #4, but not by much:

{noformat}
3 300 = 
{"class":"org.apache.mahout.matrix.TestVector","vector":"{\"indexes\":[1,2,3,4,5,6,7,8,9],\"values
 <snip>
4 247 = <snip>
{noformat}

Then I upped the number to 1000 entries to correspond with our text term 
vectors. Almost a 2:1 advantage but no readability:
{noformat}
3 23283
4 12131
{noformat}


> 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