You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Andrew Palumbo (JIRA)" <ji...@apache.org> on 2016/03/15 23:24:33 UTC

[jira] [Resolved] (MAHOUT-1813) Functional "apply" DSL for distributed and in-memory matrices

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

Andrew Palumbo resolved MAHOUT-1813.
------------------------------------
    Resolution: Implemented

> 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)