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

Manoj Kumar updated SPARK-9525:
-------------------------------
    Priority: Major  (was: Minor)

> 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
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to