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 2015/08/01 17:30:04 UTC

[jira] [Commented] (SPARK-9525) Optimize SparseVector initializations in linalg

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

Apache Spark commented on SPARK-9525:
-------------------------------------

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

> Optimize SparseVector initializations in linalg
> -----------------------------------------------
>
>                 Key: SPARK-9525
>                 URL: https://issues.apache.org/jira/browse/SPARK-9525
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib, PySpark
>            Reporter: Manoj Kumar
>            Priority: Minor
>
> 1. Remove sorting of indices and assume that the user gives a sorted tuple of indices, values etc
> 2. Avoid iterating twice to get the indices and values if the argument provided is a dict.
> 3. Add checks such that the length of the indices should be less than the size provided.



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