You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2014/11/26 04:34:12 UTC

[jira] [Commented] (SPARK-4611) Implement the efficient vector norm

    [ https://issues.apache.org/jira/browse/SPARK-4611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14225657#comment-14225657 ] 

Apache Spark commented on SPARK-4611:
-------------------------------------

User 'dbtsai' has created a pull request for this issue:
https://github.com/apache/spark/pull/3462

> Implement the efficient vector norm
> -----------------------------------
>
>                 Key: SPARK-4611
>                 URL: https://issues.apache.org/jira/browse/SPARK-4611
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib
>            Reporter: DB Tsai
>            Assignee: DB Tsai
>
> The vector norm in breeze is implemented by `activeIterator` which is known to be very slow. In this PR, an efficient vector norm is implemented, and with this API, `Normalizer` has huge performance gain.
> Here is the benchmark against mnist8m dataset.
> Before
> DenseVector: 68.25secs
> SparseVector: 17.01secs
> With this PR
> DenseVector: 12.71secs
> SparseVector: 2.73secs



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