You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:25:18 UTC

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

     [ https://issues.apache.org/jira/browse/SPARK-9525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon updated SPARK-9525:
--------------------------------
    Labels: bulk-closed  (was: )

> 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: Major
>              Labels: bulk-closed
>
> 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
(v7.6.3#76005)

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