You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Dmitriy Lyubimov (JIRA)" <ji...@apache.org> on 2015/06/03 01:43:49 UTC

[jira] [Created] (MAHOUT-1728) in-core functional assignments

Dmitriy Lyubimov created MAHOUT-1728:
----------------------------------------

             Summary: in-core functional assignments
                 Key: MAHOUT-1728
                 URL: https://issues.apache.org/jira/browse/MAHOUT-1728
             Project: Mahout
          Issue Type: Improvement
            Reporter: Dmitriy Lyubimov
            Assignee: Dmitriy Lyubimov
             Fix For: 0.10.2


in-core functional assignments (for vector and matrices) 

mxA := { (x) => x * x} 
mxA := { (row, col, x} => ... }
mxA ::={ (x) => ... }
mxA ::={ (row, col, x} => ...}
vec := { (x) => ...}
vec :={ (idx, x) => ..}
vec ::= { (x) => ...}
vec ::={ (ind, x) => ...}

the `:=` assignmentn applies the function to all elements of tensor. 
the `::=` assignment ignores zero elements of the tensor to improve performance. 

matrix functions iterations use matrix structural flavor to optimize traversal.

further examples.

mxA := exp _ (in-place exponent)

v := abs _



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)