You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Robin Anil (JIRA)" <ji...@apache.org> on 2013/04/16 07:27:15 UTC

[jira] [Updated] (MAHOUT-1192) Speed up Vector Operations

     [ https://issues.apache.org/jira/browse/MAHOUT-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robin Anil updated MAHOUT-1192:
-------------------------------

    Attachment: MAHOUT-1192.patch

Manhattan distance is sped up by almost 3x, and other immutable interfaces are sped up by: 
1) use of clone() instead of like().assign(this)
2) caching using lengthSquared() which is a cached length instead of calling dotSelf directly. 
                
> Speed up Vector Operations
> --------------------------
>
>                 Key: MAHOUT-1192
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1192
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Robin Anil
>            Assignee: Robin Anil
>         Attachments: MAHOUT-1192.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira