You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Sebastian Schelter (JIRA)" <ji...@apache.org> on 2014/04/11 08:03:14 UTC

[jira] [Created] (MAHOUT-1508) SparseMatrix assign has huge performance problems

Sebastian Schelter created MAHOUT-1508:
------------------------------------------

             Summary: SparseMatrix assign has huge performance problems
                 Key: MAHOUT-1508
                 URL: https://issues.apache.org/jira/browse/MAHOUT-1508
             Project: Mahout
          Issue Type: Bug
          Components: Math
            Reporter: Sebastian Schelter
            Priority: Blocker
             Fix For: 1.0


I'm currently working with the new Scala DSL and running into a problem with SparseMatrix and SparseRowMatrix.

The problem is that they don't implement a specialized assign(Matrix other, DoubleDoubleFunction f) function, but use the implementation from AbstractMatrix which loops through all (!) possible entries. 

We have to fix this asap.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Re: [jira] [Created] (MAHOUT-1508) SparseMatrix assign has huge performance problems

Posted by Dmitriy Lyubimov <dl...@gmail.com>.
+100
On Apr 10, 2014 11:03 PM, "Sebastian Schelter (JIRA)" <ji...@apache.org>
wrote:

> Sebastian Schelter created MAHOUT-1508:
> ------------------------------------------
>
>              Summary: SparseMatrix assign has huge performance problems
>                  Key: MAHOUT-1508
>                  URL: https://issues.apache.org/jira/browse/MAHOUT-1508
>              Project: Mahout
>           Issue Type: Bug
>           Components: Math
>             Reporter: Sebastian Schelter
>             Priority: Blocker
>              Fix For: 1.0
>
>
> I'm currently working with the new Scala DSL and running into a problem
> with SparseMatrix and SparseRowMatrix.
>
> The problem is that they don't implement a specialized assign(Matrix
> other, DoubleDoubleFunction f) function, but use the implementation from
> AbstractMatrix which loops through all (!) possible entries.
>
> We have to fix this asap.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.2#6252)
>