You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Weichen Xu (JIRA)" <ji...@apache.org> on 2016/07/12 14:33:20 UTC

[jira] [Created] (SPARK-16499) Improve applyInPlace function for matrix in ANN code

Weichen Xu created SPARK-16499:
----------------------------------

             Summary: Improve applyInPlace function for matrix in ANN code
                 Key: SPARK-16499
                 URL: https://issues.apache.org/jira/browse/SPARK-16499
             Project: Spark
          Issue Type: Improvement
          Components: ML, MLlib
            Reporter: Weichen Xu


The ApplyInPlace function in ANN code:
`
def apply(x: BDM[Double], y: BDM[Double], func: Double => Double): Unit
`

is implemented using simple while loop.

It should be replaced with breeze BDM matrix operating function, so that it
can take advantage of breeze lib's optimization.



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

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