You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Manoj Kumar (JIRA)" <ji...@apache.org> on 2015/08/01 17:16:04 UTC
[jira] [Created] (SPARK-9525) Optimize SparseVector initializations
in linalg
Manoj Kumar created SPARK-9525:
----------------------------------
Summary: 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