You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2014/08/08 07:42:12 UTC

[jira] [Created] (SPARK-2923) Implement some basic linalg operations in MLlib

Xiangrui Meng created SPARK-2923:
------------------------------------

             Summary: Implement some basic linalg operations in MLlib
                 Key: SPARK-2923
                 URL: https://issues.apache.org/jira/browse/SPARK-2923
             Project: Spark
          Issue Type: Improvement
          Components: MLlib
            Reporter: Xiangrui Meng
            Assignee: Xiangrui Meng


We use breeze for linear algebra operations. Breeze operations are user-friendly but there are some concerns:

1. creating temp objects, e.g., `val z = a * x + b * y`
2. multi-method is not used in some operators, e.g., `axpy`. If we pass in SparseVector as a generic Vector, it will use activeIterator, which is slow
3. calling native BLAS if it is available, which might not be good for level-1 methods

Having some basic BLAS operations implemented in MLlib can help simplify the current implementation and improve some performance.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org