[
https://issues.apache.org/jira/browse/MAHOUT-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15196352#comment-15196352
]
ASF GitHub Bot commented on MAHOUT-1813:
----------------------------------------
Github user andrewpalumbo closed the pull request at:
https://github.com/apache/mahout/pull/194
> Functional "apply" DSL for distributed and in-memory matrices
> -------------------------------------------------------------
>
> Key: MAHOUT-1813
> URL: https://issues.apache.org/jira/browse/MAHOUT-1813
> Project: Mahout
> Issue Type: New Feature
> Affects Versions: 0.11.2
> Reporter: Andrew Palumbo
> Assignee: Andrew Palumbo
> Fix For: 0.12.0
>
>
> We have functional "Assign" for in-memory matrices, e.g.:
> {code}
> mxA := { x => x + 1 }
> mxA ::= { x=> x * 2 }
> {code}
> However, we lack similar unary elementwise function capability with
> distributed matrices, because distributed matrices are logically immutable.
> The suggestion here is to use apply(func) to augment that capability for DRMs:
> {code}
> drmA(x => x + 1)
> drmA(x => 2 * x)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)